EclipseDetector crash
I've got a code:
Frame ITRFFrame = FramesFactory.getPZ9011(IERSConventions.IERS_2010 , false);
OneAxisEllipsoid earth = new OneAxisEllipsoid(Constants.WGS84_EARTH_EQUATORIAL_RADIUS, Constants.WGS84_EARTH_FLATTENING, ITRFFrame);
PVCoordinatesProvider sun = CelestialBodyFactory.getSun();
EclipseDetector eclipseDetector = new EclipseDetector(sun, Constants.SUN_RADIUS, earth).withUmbra().withHandler(eclipseScHandler).withMaxCheck(60.0).withThreshold(1.0e-3);
propagator.addEventDetector(eclipseDetector);
which is cause a MathRuntimeException after sqrt becane NaN at:
Ellipsoid.java:278
final double
sqrt = FastMath.sqrt(beta * beta - alpha * gamma);
at that moment:
observer = {5 621 586,021199942; -4 496 118,751975084; 0,000000008}
outside = {69 159 195 202,69193; 123 014 642 034,89732; -44 866 184 753,460625}
i can provide any additional information