soniakeys / meeus

Implementation of "Astronomical Algorithms" by Jean Meeus
MIT License
342 stars 56 forks source link

Sign error in planet position FK5 conversion #10

Closed soniakeys closed 7 years ago

soniakeys commented 7 years ago

Reported by my very valuable email contact:

Bug in planetposition.go The statement Lp := L - unit.AngleFromDeg(1.397T-.00031T*T) should implement L' = L - 1.397 T - 0.00031 T² but this is L' = L - (1.397 T + 0.00031 T²)