Skip to content

Commit 1bf5e76

Browse files
lkdvosmtfishman
andcommitted
Apply code suggestion
Co-authored-by: Matt Fishman <[email protected]>
1 parent 92a9f70 commit 1bf5e76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/abstractblocksparsearray/abstractblocksparsematrix.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ function eigencopy_oftype(A::AbstractBlockSparseMatrix, T)
88
if is_block_permutation_matrix(A)
99
Acopy = similar(A, T)
1010
for bI in eachblockstoredindex(A)
11-
Acopy[bI] = eigencopy_oftype(A[bI], T)
11+
Acopy[bI] = eigencopy_oftype(@view!(A[bI]), T)
1212
end
1313
return Acopy
1414
else

0 commit comments

Comments
 (0)