Skip to content

Commit 5bfd6a2

Browse files
mdhaberdschmitz89
authored andcommitted
TST: stats.Normal: bump tolerance on test of logcdf (scipy#22276)
* TST: stats.Normal: bump tolerance on test of logcdf * Update scipy/stats/tests/test_continuous.py [skip ci] Co-authored-by: Matt Haberland <[email protected]> --------- Co-authored-by: Daniel Schmitz <[email protected]>
1 parent f9a549c commit 5bfd6a2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scipy/stats/tests/test_continuous.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,8 @@ def check_dist_func(dist, fname, arg, result_shape, methods):
426426
# can only expect about half of machine precision for optimization
427427
# because math
428428
tol_override = {'atol': 1e-6}
429+
elif fname in {'logcdf'}: # gh-22276
430+
tol_override = {'rtol': 2e-7}
429431

430432
if dist._overrides(f'_{fname}_formula'):
431433
methods.add('formula')

0 commit comments

Comments
 (0)