Skip to content

Commit 39c6e34

Browse files
kshyattJutho
andcommitted
Update src/pullbacks/svd.jl
Co-authored-by: Jutho <Jutho@users.noreply.github.com>
1 parent db21262 commit 39c6e34

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎src/pullbacks/svd.jl‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ function check_and_prepare_svd_cotangents(
9494
good_indS = _ind_intersect(1:r, indS)
9595
ΔS₁ = zero(S₁)
9696
ΔS₁[1:length(good_indS)] .= real.(ΔS[good_indS])
97-
length(ΔS₁) == length(S₁) || throw(DimensionMismatch(lazy"length of ΔS₁ ($(length(ΔS₁))) does not match length of S₁ ($(length(S₁)))"))
9897
badΔS₁ = view(ΔS, bad_indS)
9998
Δgauge = max(Δgauge, maximum(abs, badΔS₁; init = abs(zero(eltype(ΔS)))))
10099
else

0 commit comments

Comments
 (0)