Skip to content

Commit bc5f03b

Browse files
authored
Remove internal functions
1 parent f3908ce commit bc5f03b

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "PoissonRandom"
22
uuid = "e409e4f3-bfea-5376-8464-e040bb5c01ab"
3-
version = "0.4.6"
3+
version = "0.4.7"
44

55
[deps]
66
LogExpFunctions = "2ab3a3ac-af41-5b50-aa03-7779005ae688"

src/PoissonRandom.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ export pois_rand, PassthroughRNG
88
# GPU-compatible Poisson sampling via PassthroughRNG
99
struct PassthroughRNG <: AbstractRNG end
1010

11-
rand(rng::PassthroughRNG) = Random.rand()
12-
randexp(rng::PassthroughRNG) = Random.randexp()
13-
randn(rng::PassthroughRNG) = Random.randn()
11+
Random.rand(rng::PassthroughRNG) = rand()
12+
Random.randexp(rng::PassthroughRNG) = randexp()
13+
Random.randn(rng::PassthroughRNG) = randn()
1414

1515
count_rand(λ) = count_rand(Random.GLOBAL_RNG, λ)
1616
function count_rand(rng::AbstractRNG, λ)

0 commit comments

Comments
 (0)