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

Simplify h derivative #61

Open ericagol opened 3 years ago

ericagol commented 3 years ago

https://github.com/ericagol/NbodyGradient.jl/blob/685014cfa11f9876c498d1e6e17b1be050ba4932/src/integrator/ahl21/ahl21.jl#L1309

This line can be simplified to -k/r^3*(r_0G_1+\eta G_2)