Skip to content

Commit

Permalink
Mark xfail beta_logcdf
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoV94 committed Mar 10, 2021
1 parent 4ec14ab commit 780bd6e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pymc3/tests/test_distributions.py
Original file line number Diff line number Diff line change
Expand Up @@ -993,14 +993,20 @@ def test_wald_logcdf(self):
lambda value, mu, alpha: sp.invgauss.logcdf(value, mu=mu, loc=alpha),
)

def test_beta(self):
def test_beta_logp(self):
self.check_logp(
Beta,
Unit,
{"alpha": Rplus, "beta": Rplus},
lambda value, alpha, beta: sp.beta.logpdf(value, alpha, beta),
)
self.check_logp(Beta, Unit, {"mu": Unit, "sigma": Rplus}, beta_mu_sigma)

@pytest.mark.xfail(
condition=(aesara.config.floatX == "float32"),
reason="Some combinations underflow to -inf on float32",
)
def test_beta_logcdf(self):
self.check_logcdf(
Beta,
Unit,
Expand Down

0 comments on commit 780bd6e

Please sign in to comment.