@@ -1437,15 +1437,11 @@ def test_fun(value, mu, sigma):
1437
1437
reason = "Fails on float32 due to numerical issues" ,
1438
1438
)
1439
1439
def test_gamma_logcdf (self ):
1440
- # pymc-devs/aesara#224: skip_paramdomain_outside_edge_test has to be set
1441
- # True to avoid triggering a C-level assertion in the Aesara GammaQ function
1442
- # in gamma.c file. Can be set back to False (default) once that issue is solved
1443
1440
self .check_logcdf (
1444
1441
Gamma ,
1445
1442
Rplus ,
1446
1443
{"alpha" : Rplusbig , "beta" : Rplusbig },
1447
1444
lambda value , alpha , beta : sp .gamma .logcdf (value , alpha , scale = 1.0 / beta ),
1448
- skip_paramdomain_outside_edge_test = True ,
1449
1445
)
1450
1446
1451
1447
def test_inverse_gamma_logp (self ):
@@ -1455,23 +1451,17 @@ def test_inverse_gamma_logp(self):
1455
1451
{"alpha" : Rplus , "beta" : Rplus },
1456
1452
lambda value , alpha , beta : sp .invgamma .logpdf (value , alpha , scale = beta ),
1457
1453
)
1458
- # pymc-devs/aesara#224: skip_paramdomain_outside_edge_test has to be set
1459
- # True to avoid triggering a C-level assertion in the Aesara GammaQ function
1460
1454
1461
1455
@pytest .mark .xfail (
1462
1456
condition = (aesara .config .floatX == "float32" ),
1463
1457
reason = "Fails on float32 due to numerical issues" ,
1464
1458
)
1465
1459
def test_inverse_gamma_logcdf (self ):
1466
- # pymc-devs/aesara#224: skip_paramdomain_outside_edge_test has to be set
1467
- # True to avoid triggering a C-level assertion in the Aesara GammaQ function
1468
- # in gamma.c file. Can be set back to False (default) once that issue is solved
1469
1460
self .check_logcdf (
1470
1461
InverseGamma ,
1471
1462
Rplus ,
1472
1463
{"alpha" : Rplus , "beta" : Rplus },
1473
1464
lambda value , alpha , beta : sp .invgamma .logcdf (value , alpha , scale = beta ),
1474
- skip_paramdomain_outside_edge_test = True ,
1475
1465
)
1476
1466
1477
1467
@pytest .mark .xfail (
0 commit comments