Skip to content

Commit

Permalink
Apply code suggestion
Browse files Browse the repository at this point in the history
Co-authored-by: Matt Fishman <[email protected]>
  • Loading branch information
lkdvos and mtfishman authored Jan 10, 2025
1 parent 330ef1c commit ea3bf67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/abstractblocksparsearray/abstractblocksparsematrix.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function eigencopy_oftype(A::AbstractBlockSparseMatrix, T)
if is_block_permutation_matrix(A)
Acopy = similar(A, T)
for bI in eachblockstoredindex(A)
Acopy[bI] = eigencopy_oftype(A[bI], T)
Acopy[bI] = eigencopy_oftype(@view!(A[bI]), T)
end
return Acopy

Check warning on line 13 in src/abstractblocksparsearray/abstractblocksparsematrix.jl

View check run for this annotation

Codecov / codecov/patch

src/abstractblocksparsearray/abstractblocksparsematrix.jl#L7-L13

Added lines #L7 - L13 were not covered by tests
else
Expand Down

0 comments on commit ea3bf67

Please sign in to comment.