Skip to content

Commit 057729d

Browse files
committed
bugfix
1 parent 2108659 commit 057729d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/combinators/affine.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,14 +76,14 @@ end
7676
end
7777

7878
@inline function apply!(x, f::AffineTransform{(:μ,:σ)}, z)
79-
apply!(x, AffineTransform((σ = f.σ,)))
80-
apply!(x, AffineTransform((μ = f.μ,)))
79+
apply!(x, AffineTransform((σ = f.σ,)), z)
80+
apply!(x, AffineTransform((μ = f.μ,)), x)
8181
return x
8282
end
8383

8484
@inline function apply!(x, f::AffineTransform{(:μ,:ω)}, z)
85-
apply!(x, AffineTransform((ω = f.ω,)))
86-
apply!(x, AffineTransform((μ = f.μ,)))
85+
apply!(x, AffineTransform((ω = f.ω,)), z)
86+
apply!(x, AffineTransform((μ = f.μ,)), x)
8787
return x
8888
end
8989

0 commit comments

Comments
 (0)