Skip to content

Commit

Permalink
add rtol to the test
Browse files Browse the repository at this point in the history
  • Loading branch information
scarlehoff committed Jun 12, 2023
1 parent 0cfa8c2 commit 6166a34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions n3fit/src/n3fit/tests/test_evolven3fit.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,11 @@ def test_eko_utils(tmp_path):
assert_allclose(op_card_dict["xgrid"], x_grid)
# In theory 162 the charm threshold is at 1.51
# and we should find two entries, one for nf=3 and another one for nf=4
assert_allclose(op_card_dict["mugrid"][0], (1.51, 3))
assert_allclose(op_card_dict["mugrid"][0], (1.51, 3), rtol=1e-4)
assert_allclose(op_card_dict["mugrid"][1], (1.51, 4))
# Then (with the number of points we chosen it will happen in position 2,3
# we will find the bottom threshold at two different nf
assert_allclose(op_card_dict["mugrid"][2], (4.92, 4))
assert_allclose(op_card_dict["mugrid"][2], (4.92, 4), rtol=1e-4)
assert_allclose(op_card_dict["mugrid"][3], (4.92, 5))
assert_allclose(op_card_dict["mugrid"][-1], (q_fin, 5))
# Testing computation of eko
Expand Down

0 comments on commit 6166a34

Please sign in to comment.