File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -279,7 +279,7 @@ def check_logp(
279
279
rtol = select_by_precision ()
280
280
281
281
if atol is None :
282
- atol = 1e-10
282
+ atol = select_by_precision ( float64 = 1e-10 , float32 = 1e-8 )
283
283
284
284
if extra_args is None :
285
285
extra_args = {}
@@ -463,7 +463,7 @@ def check_logcdf(
463
463
rtol = select_by_precision ()
464
464
465
465
if atol is None :
466
- atol = 1e-10
466
+ atol = select_by_precision ( float64 = 1e-10 , float32 = 1e-8 )
467
467
468
468
for pt in product (domains , n_samples = n_samples ):
469
469
params = dict (pt )
@@ -563,7 +563,7 @@ def check_selfconsistency_discrete_logcdf(
563
563
rtol = select_by_precision (float64 = 1e-8 , float32 = 1e-5 )
564
564
565
565
if atol is None :
566
- atol = 0.0
566
+ atol = select_by_precision ( float64 = 1e-10 , float32 = 1e-8 )
567
567
568
568
model , param_vars = build_model (distribution , domain , paramdomains )
569
569
rv = model ["value" ]
You can’t perform that action at this time.
0 commit comments