Skip to content

Commit

Permalink
adjust tolerance to reduced precision
Browse files Browse the repository at this point in the history
  • Loading branch information
draimundo committed Nov 17, 2023
1 parent 0e7b2f5 commit a29b371
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_wvariogram.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def test_owvs_vs_vs(backend):
lambda x: backends[backend].mean(x) * 0.0 + 1.0,
backend=backend,
)
np.testing.assert_allclose(res, resw, rtol=1e-5)
np.testing.assert_allclose(res, resw, rtol=5e-5)


@pytest.mark.parametrize("backend", BACKENDS)
Expand All @@ -49,7 +49,7 @@ def test_twvs_vs_vs(backend):

res = variogram_score(fcts, obs, backend=backend)
resw = twvariogram_score(fcts, obs, lambda x: x, backend=backend)
np.testing.assert_allclose(res, resw, rtol=1e-5)
np.testing.assert_allclose(res, resw, rtol=5e-5)


@pytest.mark.parametrize("backend", BACKENDS)
Expand Down

0 comments on commit a29b371

Please sign in to comment.