Skip to content

Commit

Permalink
approx
Browse files Browse the repository at this point in the history
  • Loading branch information
lsbardel committed Jul 15, 2023
1 parent ecaea13 commit 3f10683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_poisson.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def test_poisson_sampling(poisson: PoissonProcess) -> None:
assert std[0] == 0
pdf = paths.pdf(delta=1)
assert len(pdf.columns) == 1
assert sum(pdf["pdf"]) == 1
assert sum(pdf["pdf"]) == pytest.approx(1)


def test_comp_characteristic(comp: CompoundPoissonProcess) -> None:
Expand Down

0 comments on commit 3f10683

Please sign in to comment.