Skip to content

Commit

Permalink
Revert "Tweak comment to match sign of rotation matrix"
Browse files Browse the repository at this point in the history
This reverts 5c0b6f3 and fixes #1020.
  • Loading branch information
brandon-rhodes committed Jan 5, 2025
1 parent 101d46a commit 46e3c54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skyfield/precessionlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def compute_precession(jd_tdb):
cd = cos(chia)

# Compute elements of precession rotation matrix equivalent to
# R3(-chi_a) R1(omega_a) R3(psi_a) R1(-epsilon_0).
# R3(chi_a) R1(-omega_a) R3(-psi_a) R1(epsilon_0).

rot3 = array(((cd * cb - sb * sd * cc,
cd * sb * ca + sd * cc * cb * ca - sa * sd * sc,
Expand Down

0 comments on commit 46e3c54

Please sign in to comment.