Skip to content

Commit

Permalink
increase fast coord tolerance by 1 second
Browse files Browse the repository at this point in the history
  • Loading branch information
yoachim committed Sep 12, 2024
1 parent 0d37623 commit fa931be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/utils/test_coordinatetransformations.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def test_fast_lmst(self):
longitude_rad = -1.2348
fast_lmst = utils.calc_lmst(mjds, longitude_rad)
slow_lmst = utils.calc_lmst_astropy(mjds, longitude_rad)
tol = 2 / 3600 / 24 # seconds to days
tol = 3 / 3600 / 24 # seconds to days
np.testing.assert_allclose(fast_lmst, slow_lmst, atol=tol)

# test sending scalar
Expand Down

0 comments on commit fa931be

Please sign in to comment.