Skip to content

Commit

Permalink
Update pymc_experimental/tests/distributions/test_discrete.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoV94 authored Apr 15, 2024
1 parent 883242d commit 594e354
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pymc_experimental/tests/distributions/test_discrete.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ class TestSkellam:
def test_logp(self):
# Scipy Skellam underflows to -inf earlier than PyMC
Rplus_small = Domain([0, 0.01, 0.1, 0.9, 0.99, 1, 1.5, 2, 10, np.inf])
# Suppress warnings coming from Scipy logpmf implementation
with np.errstate(divide="ignore", invalid="ignore"):
check_logp(
Skellam,
Expand Down

0 comments on commit 594e354

Please sign in to comment.