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