Skip to content

Commit

Permalink
Fix internal function of set_eop to properly respect input in radians
Browse files Browse the repository at this point in the history
  • Loading branch information
duncaneddy committed May 18, 2024
1 parent ffaf657 commit 4831658
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/universe.jl
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ Arguments:
- `yp::Real` y-component of the pole locator in radians.
"""
function set_eop(mjd::Real, ut1_utc::Real, xp::Real, yp::Real)
EOP.data[convert(Int, floor(mjd))] = (ut1_utc, xp*AS2RAD, yp*AS2RAD)
EOP.data[convert(Int, floor(mjd))] = (ut1_utc, xp, yp)
end

export load_eop
Expand Down

0 comments on commit 4831658

Please sign in to comment.