Skip to content

Commit

Permalink
Add tolerences to test
Browse files Browse the repository at this point in the history
  • Loading branch information
APJansen committed Jan 10, 2024
1 parent 301daa6 commit 9be877d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion n3fit/src/n3fit/tests/test_multidense.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def test_multidense():
[single_model(test_input) for single_model in single_models], axis=1
)

np.testing.assert_allclose(multi_dense_output, single_dense_output)
np.testing.assert_allclose(multi_dense_output, single_dense_output, atol=1e-6, rtol=1e-4)


def test_initializers():
Expand Down

0 comments on commit 9be877d

Please sign in to comment.