NaNs in propagation of Keplerian motion with Cartesian coordinates and complex numbers
In shiftPVElliptic
of FieldCartesianOrbit
, using ComplexField
with a circular orbit leads to NaN. In particular, any initial position like (X, 0,0) and velocity (0,sqrt(mu/X),0) will cause it. They appear in the arctan2
.
This happens at least if the initial imaginary parts are zeros, have not checked other cases. It is a regression because it doesn't happen when using the old version before Orekit 11.3.
Edited by Romain Serra