Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.

Commit f7d1dac

Browse files
authored
Add missing rng
1 parent 90019b2 commit f7d1dac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/processes/poisson.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function rand_single(rng::Random.AbstractRNG, p::PoissonProcess{<:Real}, g, ::Co
5353
n = rand(rng, Poisson* V))
5454

5555
# simulate n points
56-
iszero(n) ? nothing : PointSet(sample(g, HomogeneousSampling(n)))
56+
iszero(n) ? nothing : PointSet(sample(rng, g, HomogeneousSampling(n)))
5757
end
5858

5959
#--------------------

0 commit comments

Comments
 (0)