Commit 0ab99387 authored by René Fritze's avatar René Fritze
Browse files

[test] slightly increase bbox tolerances in affine grid

parent 246fd62a
......@@ -354,7 +354,7 @@ def test_bounding_box(grid):
# compare with tolerance is necessary with very large domain boundaries values
# where the relative error in the centers computation introduces enough error to fail the test
# otherwise
rtol, atol = _scale_tols_if_domain_bad(g, rtol=1e-12, atol=1e-12)
rtol, atol = _scale_tols_if_domain_bad(g, rtol=2e-12, atol=2e-12)
assert np.all(almost_less(bbox[0], g.centers(g.dim), rtol=rtol, atol=atol))
assert np.all(almost_less(g.centers(g.dim), bbox[1], rtol=rtol, atol=atol))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment