Skip to content

Commit 49f6795

Browse files
AlexRobsonmzgubic
andauthored
Update src/chainrules.jl
Co-authored-by: Miha Zgubic <[email protected]>
1 parent c79f177 commit 49f6795

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/chainrules.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ function ChainRulesCore.rrule(::typeof(*), A::Real, B::WoodburyPDMat)
99
return (NoTangent(), Ā, B̄)
1010
end
1111

12-
function times_pullback(ȳ::Tangent{<:WoodburyPDMat})
13-
= unthunk(ȳ)
12+
function times_pullback::Tangent{<:WoodburyPDMat})
1413
= dot(Ȳ.A *.D *.A' +.S, B)
1514
=.A * (A' *.D) *.A' + A' *.S
1615
return (

0 commit comments

Comments
 (0)