Skip to content

Commit f14e045

Browse files
committed
correct accumulate to be broadcasting
1 parent 5c3fdaa commit f14e045

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rule_types.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ accumulate(Δ, rule::Rule{typeof(df)}, x) = # customized `accumulate` implementa
179179
180180
See also: [`accumulate!`](@ref), [`store!`](@ref), [`AbstractRule`](@ref)
181181
"""
182-
accumulate(Δ, ∂) = Δ +
182+
accumulate(Δ, ∂) = Δ .+
183183

184184
"""
185185
accumulate!(Δ, rule::AbstractRule, args...)

0 commit comments

Comments
 (0)