@@ -115,7 +115,7 @@ rand_ui52(r::AbstractRNG) = rand_ui52_raw(r) & 0x000fffffffffffff
115115
116116# ## sampler for pairs and complex numbers
117117
118- function Sampler (rng:: AbstractRNG , u:: Distribution2 {T} , n:: Repetition ) where T <: Union{Complex,Pair}
118+ function Sampler (rng:: AbstractRNG , u:: Combine2 {T} , n:: Repetition ) where T <: Union{Complex,Pair}
119119 sp1 = Sampler (rng, u. x, n)
120120 sp2 = u. x == u. y ? sp1 : Sampler (rng, u. y, n)
121121 SamplerTag {Cont{T}} ((sp1, sp2))
@@ -126,11 +126,11 @@ rand(rng::AbstractRNG, sp::SamplerTag{Cont{T}}) where {T<:Union{Complex,Pair}} =
126126
127127# ### additional methods for complex numbers
128128
129- Sampler (rng:: AbstractRNG , u:: Distribution1 {Complex} , n:: Repetition ) =
130- Sampler (rng, Distribution (Complex, u. x, u. x), n)
129+ Sampler (rng:: AbstractRNG , u:: Combine1 {Complex} , n:: Repetition ) =
130+ Sampler (rng, Combine (Complex, u. x, u. x), n)
131131
132132Sampler (rng:: AbstractRNG , :: Type{Complex{T}} , n:: Repetition ) where {T<: Real } =
133- Sampler (rng, Distribution (Complex, T, T), n)
133+ Sampler (rng, Combine (Complex, T, T), n)
134134
135135# ## random characters
136136
0 commit comments