Skip to content

Commit

Permalink
oops. Fix missing end
Browse files Browse the repository at this point in the history
  • Loading branch information
ablaom committed Dec 5, 2023
1 parent b72df42 commit dc7bf6b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/src/maths/propagators.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,10 @@ end
function ChainRulesCore.rrule(m::Multiplier, y)
product = m(y)
function pullback(Δproduct)
∂self = Tangent{typeof(m)}(; x = Δproduct * y')
∂y = m.x' * Δproduct
return ∂self, ∂y
∂self = Tangent{typeof(m)}(; x = Δproduct * y')
∂y = m.x' * Δproduct
return ∂self, ∂y
end
return product, pullback
end
```
Expand Down

0 comments on commit dc7bf6b

Please sign in to comment.