[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orekit Developers] Infinite loop in KeplerianOrbit#eMeSinE(E)



I noticed that sometimes my code is hanging in an infinite loop.
I found out that if eMeSinE(E) is called with NaN as argument then it never
returns.
In my code the NaN is caused by an eccentricity e < -1 that I can easily
check. (In the application I need to use e < 0 even if it is in theory not
possible!)
However the hanging behaviour is a bit misleading. Perhaps the method should
throw an exception.

Alessandro