We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09ea9b4 commit 68cd04cCopy full SHA for 68cd04c
1 file changed
src/containers.jl
@@ -8,7 +8,7 @@ rand!(A::AbstractDict{K,V}, dist::Distribution{<:Pair}=Combine(Pair, K, V)) wher
8
9
rand!(rng::AbstractRNG, A::AbstractDict{K,V},
10
dist::Distribution{<:Pair}=Combine(Pair, K, V)) where {K,V} =
11
- rand!(GLOBAL_RNG, A, Sampler(rng, dist))
+ rand!(rng, A, Sampler(rng, dist))
12
13
function _rand!(rng::AbstractRNG, A::Union{AbstractDict,AbstractSet}, n::Integer, sp::Sampler)
14
empty!(A)
0 commit comments