Skip to content

Commit

Permalink
More tolerance
Browse files Browse the repository at this point in the history
  • Loading branch information
dachengx committed Jul 21, 2024
1 parent d57ca5f commit 72683e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_blueice_extended_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def test_fit(self):
p.value_in_fit_limits(fit_result[p.name])

# check that likelihood is maximized
np.testing.assert_almost_equal(max_llh, model.ll(**fit_result))
np.testing.assert_almost_equal(max_llh, model.ll(**fit_result), decimal=2)

# check that fixing all parameters to nominal works
fit_result_fixed, _ = model.fit(**model.parameters())
Expand Down

0 comments on commit 72683e1

Please sign in to comment.