Skip to content

Commit e34c6b1

Browse files
committed
Move rand method to MeasureTheory (references Distributions)
1 parent d32f6c2 commit e34c6b1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/rand.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ Base.rand(T::Type, μ::AbstractMeasure) = rand(Random.GLOBAL_RNG, T, μ)
66

77
Base.rand(rng::AbstractRNG, d::AbstractMeasure) = rand(rng, Float64, d)
88

9-
Base.rand(rng::AbstractRNG, T::Type, d::ParameterizedMeasure) = rand(rng, distproxy(d))
10-
119
@inline Random.rand!(d::AbstractMeasure, arr::AbstractArray) = rand!(GLOBAL_RNG, d, arr)
1210

1311

0 commit comments

Comments
 (0)