We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b059ee2 commit b6ef4ddCopy full SHA for b6ef4dd
src/combinators/affine.jl
@@ -62,7 +62,7 @@ logjac(::AffineTransform{(:σ,)}) = -log(d.σ)
62
logjac(::AffineTransform{(:ω,)}) = log(d.ω)
63
logjac(::AffineTransform{(:μ,)}) = 0.0
64
65
-function Base.rand(rng::Random.AbstractRNG. ::Type{T}, d::Affine) where {T}
+function Base.rand(rng::Random.AbstractRNG, ::Type{T}, d::Affine) where {T}
66
z = rand(rng, T, parent(d))
67
f = getfield(d, :f)
68
return f(z)
0 commit comments