Skip to content

Commit

Permalink
test_ddgrfit_noMTOT
Browse files Browse the repository at this point in the history
  • Loading branch information
abhisrkckl committed Sep 26, 2023
1 parent a4eea12 commit a16d8c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_ddgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def test_ddgrfit_noMTOT(self):
assert fDDGR.resids.calc_chi2() > chi2DDGR
fDDGR.fit_toas()
assert np.isclose(fDDGR.resids.calc_chi2(), chi2DDGR, atol=0.1)
assert np.isclose(fDDGR.model.M2.quantity, M2)
assert np.isclose(fDDGR.model.M2.quantity, M2, atol=1e-7)

def test_ddgrfit(self):
t = pint.simulation.make_fake_toas_uniform(
Expand Down

0 comments on commit a16d8c0

Please sign in to comment.