Skip to content

Commit

Permalink
less stringent test to avoid rounding confusion
Browse files Browse the repository at this point in the history
  • Loading branch information
TomWagg committed Oct 12, 2023
1 parent ae88444 commit 4af9d32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion legwork/tests/test_evol.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def test_t_merge_special_cases(self):
single_time = evol.get_t_merge_ecc(beta=beta[0], a_i=a_i[0],
ecc_i=ecc_i[0],
large_e_tol=0.9).to(u.yr)
self.assertTrue(array_time[0] == single_time)
self.assertTrue(np.isclose(array_time[0], single_time))

def test_mandel_fit(self):
"""checks that the Mandel fit to the Peters timescale is the same
Expand Down

0 comments on commit 4af9d32

Please sign in to comment.