Skip to content

Commit

Permalink
MAINT: integrate.cumulative_simpson: bump test tolerance
Browse files Browse the repository at this point in the history
  • Loading branch information
mdhaber authored and tylerjereddy committed Feb 16, 2025
1 parent 6d2c059 commit fcc68dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scipy/integrate/tests/test_quadrature.py
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ def simpson_reference(y):
y, x=np.arange(y.shape[-1])
)
np.testing.assert_allclose(
res[..., 1:], ref[..., 1:] + theoretical_difference[..., 1:]
res[..., 1:], ref[..., 1:] + theoretical_difference[..., 1:], atol=1e-16
)

@pytest.mark.thread_unsafe
Expand Down

0 comments on commit fcc68dd

Please sign in to comment.