Skip to content

Commit b6ef4dd

Browse files
committed
typo
1 parent b059ee2 commit b6ef4dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/combinators/affine.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ logjac(::AffineTransform{(:σ,)}) = -log(d.σ)
6262
logjac(::AffineTransform{(:ω,)}) = log(d.ω)
6363
logjac(::AffineTransform{(:μ,)}) = 0.0
6464

65-
function Base.rand(rng::Random.AbstractRNG. ::Type{T}, d::Affine) where {T}
65+
function Base.rand(rng::Random.AbstractRNG, ::Type{T}, d::Affine) where {T}
6666
z = rand(rng, T, parent(d))
6767
f = getfield(d, :f)
6868
return f(z)

0 commit comments

Comments
 (0)