Skip to content

Commit 0b4a831

Browse files
committed
bugfix
1 parent 947e1f4 commit 0b4a831

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const sqrt2π = sqrt(2π)
3232
Base.rand(rng::Random.AbstractRNG, T::Type, d::Normal{(:μ,)}) = d.μ + randn(rng, T)
3333
Base.rand(rng::Random.AbstractRNG, T::Type, d::Normal{()}) = randn(rng, T)
3434

35-
MeasureBase.representative(d::Normal{(:μ,:σ)}) = σ > 0.0 ? Lebesgue(ℝ) : Dirac(d.μ)
35+
MeasureBase.representative(d::Normal{(:μ,:σ)}) = d.σ > 0.0 ? Lebesgue(ℝ) : Dirac(d.μ)
3636
MeasureBase.representative(d::Normal{(:μ,)}) = Lebesgue(ℝ)
3737

3838
# Leave this undefined to test fallback inference algorithm

0 commit comments

Comments
 (0)