Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Matt Fishman <[email protected]>
  • Loading branch information
lkdvos and mtfishman committed Jan 14, 2025
1 parent d9b307f commit 857f8c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/abstractblocksparsearray/abstractblocksparsematrix.jl
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ function svd!(
emptyrows = findall((browIs), 1:blocksize(U, 1))
j = 0
while !isnothing(i)
copyto!(@view!(Vt[Block(i), Block(i)]), LinearAlgebra.I)
copyto!(@view!(Vt[Block(i, i)]), LinearAlgebra.I)
j += 1
copyto!(@view!(U[Block(emptyrows[j]), Block(i)]), LinearAlgebra.I)
copyto!(@view!(U[Block(emptyrows[j], i)]), LinearAlgebra.I)
i = findnext((block_inds_S), blockaxes(S, 1), i + 1)
end

Expand Down

0 comments on commit 857f8c0

Please sign in to comment.