Skip to content

Commit

Permalink
DiscreteCompound: Fix test with SWIG>=4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jschueller committed Jan 5, 2024
1 parent 39d2c82 commit ff713c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/test/t_DiscreteCompoundDistribution_std.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

for i in range(upper_bound):
ott.assert_almost_equal(
distribution.computePDF([i]), poisson_distribution.computePDF([i])
distribution.computePDF([float(i)]), poisson_distribution.computePDF([float(i)])
)

print("Distribution ", repr(distribution))
Expand Down

0 comments on commit ff713c2

Please sign in to comment.