Skip to content

Commit fcc68dd

Browse files
mdhabertylerjereddy
authored andcommitted
MAINT: integrate.cumulative_simpson: bump test tolerance
1 parent 6d2c059 commit fcc68dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scipy/integrate/tests/test_quadrature.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ def simpson_reference(y):
663663
y, x=np.arange(y.shape[-1])
664664
)
665665
np.testing.assert_allclose(
666-
res[..., 1:], ref[..., 1:] + theoretical_difference[..., 1:]
666+
res[..., 1:], ref[..., 1:] + theoretical_difference[..., 1:], atol=1e-16
667667
)
668668

669669
@pytest.mark.thread_unsafe

0 commit comments

Comments
 (0)