Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MultiStatistics::terminate throws floating point arithmetic exception #1353

Closed
copyme opened this issue Oct 16, 2018 · 2 comments
Closed

MultiStatistics::terminate throws floating point arithmetic exception #1353

copyme opened this issue Oct 16, 2018 · 2 comments

Comments

@copyme
Copy link
Member

copyme commented Oct 16, 2018

As in the description. The method causes Signal: SIGFPE (Arithmetic exception) with feenableexcept ( FE_DIVBYZERO | FE_INVALID | FE_OVERFLOW ). This bug has been discovered thanks to #1352.

@copyme
Copy link
Member Author

copyme commented Oct 16, 2018

There is a division by zero. As from the data used in the test we have: mySamples[k] - 1 is equal to zero and then we have a division by this value that is equal to zero, etc.

@copyme
Copy link
Member Author

copyme commented Nov 4, 2018

Fixed in #1358

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant