Skip to content

Commit 3a48a5c

Browse files
refactor 3
1 parent f94dd83 commit 3a48a5c

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/PoissonRandom.jl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,13 +123,16 @@ Generates Poisson(λ) distributed random numbers using a fast polyalgorithm.
123123
## Examples
124124
125125
```julia
126-
# Simple Poisson random which works on GPU
126+
# Simple Poisson random
127127
pois_rand(λ)
128128
129-
# Using RNG
129+
# Using another RNG
130130
using RandomNumbers
131131
rng = Xorshifts.Xoroshiro128Plus()
132132
pois_rand(rng, λ)
133+
134+
# Simple Poisson random on GPU
135+
pois_rand(PassthroughRNG(), λ)
133136
```
134137
"""
135138
pois_rand(λ) = pois_rand(Random.GLOBAL_RNG, λ)

0 commit comments

Comments
 (0)