Skip to content

Commit 64e1b68

Browse files
kshyattJutho
andauthored
Update src/pullbacks/svd.jl
Co-authored-by: Jutho <Jutho@users.noreply.github.com>
1 parent 2ad6266 commit 64e1b68

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
@@ -93,7 +93,6 @@ function check_and_prepare_svd_cotangents(
9393
good_indS = _ind_intersect(1:r, indS)
9494
ΔS₁ = zero(S₁)
9595
ΔS₁[1:length(good_indS)] .= real.(ΔS[good_indS])
96-
length(ΔS₁) == length(S₁) || throw(DimensionMismatch(lazy"length of ΔS₁ ($(length(ΔS₁))) does not match length of S₁ ($(length(S₁)))"))
9796
badΔS₁ = view(ΔS, bad_indS)
9897
Δgauge = max(Δgauge, maximum(abs, badΔS₁; init = abs(zero(eltype(ΔS)))))
9998
else

0 commit comments

Comments
 (0)