Fix endless loop in GPSPropagator.java#21
Conversation
If x.getValue() or/and x0.getValue() is Double.NaN this is a endless loop.
|
Thanks for the patch! Could you add a unit test? |
|
Hi all, Many thanks for finding and correcting the issue. Many thanks |
|
Hi JosefProbst, Your patch does not compile in my computer. I have an error when I call the method .equals() with a "double" parameter : " Cannot invoke equals(double) on the primitive type double " I moved the issue on the Orekit GitLab repository. We remarked that this endless loop can also occur on KeplerianOrbit.java and FieldKeplerianOrbit.java classes. Thanks again for finding the issue. |
|
The issue has been fixed in develop branch (https://gitlab.orekit.org/orekit/orekit/issues/544). Thanks again for your contribution on the bug reporting. I notified your contribution in the change.xml file of Orekit. Best regards, |
If x.getValue() or/and x0.getValue() is Double.NaN this is a endless loop.