Skip to content

Commit 857f8c0

Browse files
lkdvosmtfishman
andcommitted
Apply suggestions from code review
Co-authored-by: Matt Fishman <[email protected]>
1 parent d9b307f commit 857f8c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/abstractblocksparsearray/abstractblocksparsematrix.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ function svd!(
8282
emptyrows = findall((browIs), 1:blocksize(U, 1))
8383
j = 0
8484
while !isnothing(i)
85-
copyto!(@view!(Vt[Block(i), Block(i)]), LinearAlgebra.I)
85+
copyto!(@view!(Vt[Block(i, i)]), LinearAlgebra.I)
8686
j += 1
87-
copyto!(@view!(U[Block(emptyrows[j]), Block(i)]), LinearAlgebra.I)
87+
copyto!(@view!(U[Block(emptyrows[j], i)]), LinearAlgebra.I)
8888
i = findnext((block_inds_S), blockaxes(S, 1), i + 1)
8989
end
9090

0 commit comments

Comments
 (0)