Skip to content

Commit

Permalink
coefficient scaling incorrect
Browse files Browse the repository at this point in the history
  • Loading branch information
dahlend committed Oct 1, 2024
1 parent e086523 commit f02d375
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/kete_core/src/frames/definitions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@ pub fn calc_obliquity(jd: f64) -> f64 {
// centuries from j2000
let c = (jd - Time::j2000().jd) / 365.25 / 100.0;
(23.439279444444444
+ c * (-0.780612816666667 + c * (-3.05166666666667e-06 + c * (3.339e-05 - 9.6e-09 * c))))
+ c * (-0.013010213611111
+ c * (-5.08611111111111e-08
+ c * (5.565e-07 - c * (1.6e-10 + -1.1777777777777779e-11 * c)))))
.to_radians()
}

Expand Down

0 comments on commit f02d375

Please sign in to comment.