Skip to content

Commit

Permalink
change rand range for binomial distributions
Browse files Browse the repository at this point in the history
  • Loading branch information
İsmail Şenöz authored and İsmail Şenöz committed Jul 8, 2024
1 parent 14f967d commit 81e1a30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/natural_manifolds/binomial_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
include("natural_manifolds_setuptests.jl")

test_natural_manifold() do rng
return Binomial(rand(rng, 1:20), rand(rng, 0:1))
return Binomial(rand(rng, 1:20), rand(rng, 0:0.001:1))
end
end
2 changes: 1 addition & 1 deletion test/natural_manifolds/negative_binomial_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
include("natural_manifolds_setuptests.jl")

test_natural_manifold() do rng
return NegativeBinomial(10rand(rng), rand(rng, 0.00001:1))
return NegativeBinomial(10rand(rng), rand(rng, 0.00001:0.01:1))
end
end

0 comments on commit 81e1a30

Please sign in to comment.