Skip to content

Commit

Permalink
one more bug in svd rrule
Browse files Browse the repository at this point in the history
  • Loading branch information
Jutho committed Nov 17, 2023
1 parent b7de300 commit 9b08717
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/TensorKitChainRulesCoreExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ function svd_pullback(U::AbstractMatrix, S::AbstractVector, Vd::AbstractMatrix,
ΔVd -= VΔV' * Vp'
end
else
aVΔV = fill!(similar(V, (p, p)), 0)
aVΔV = fill!(similar(Vd, (p, p)), 0)
end

# check whether cotangents arise from gauge-invariance objective function
Expand Down

0 comments on commit 9b08717

Please sign in to comment.