ericagol / NbodyGradient.jl

N-body integrator computes derivatives with respect to initial conditions for TTVs, RV, Photodynamics & more
MIT License
20 stars 9 forks source link

Limit number of iterations in ekepler #9

Open ericagol opened 6 years ago

ericagol commented 6 years ago

Sometimes ekepler can have a huge number of iterations - this needs to be limited.

langfzac commented 3 years ago

Is this still a problem? @ericagol

ericagol commented 3 years ago

I think this has been fixed - there is a maximum number of iterations here:

https://github.com/ericagol/NbodyGradient.jl/blob/cc7ba5d1e7eaaa57313396627a8aa05ba5040019/src/ics/kepler.jl#L33-L35