-
Notifications
You must be signed in to change notification settings - Fork 0
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
Algorithm turns into infinite loop and never finishes #3
Comments
@jcb-entrnce |
This was referenced Mar 9, 2023
This was referenced Sep 20, 2023
This was referenced Jan 7, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When
tot
atCobyla.java:879
is very small, this line evaluates totemp = 0.0
. This causes line 880 to divide by zero, evaluating toalpha = NaN
. This eventually causes bothstep
andstepful
to both beNaN
, which causesCobyla.java:1165
to always evaluate to false (because(NaN == NaN) == false
), looping forever.This is annoying since it makes the algorithm unusable for production purposes.
The text was updated successfully, but these errors were encountered: