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

Fix #535: infinite loop during annihilation #536

Merged
merged 1 commit into from Nov 19, 2019

Conversation

rtownson
Copy link
Contributor

@rtownson rtownson commented May 1, 2019

Fix an infinite loop that could happen due to floating point errors in the annihilation routine. The COSTHE variable could end up being slightly less than -1, resulting in a NAN when used in square root.

Fix an infinite loop that could happen due to floating point errors in
the annihilation routine. The COSTHE variable could end up being
slightly less than -1, resulting in a NAN when used in square root.
@rtownson rtownson added the bug label May 1, 2019
@rtownson rtownson self-assigned this May 1, 2019
@ftessier ftessier merged commit 6a7034f into develop Nov 19, 2019
@ftessier ftessier deleted the fix-costhe-float-error branch November 19, 2019 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants