Skip to content

Commit

Permalink
Update test/SparseArrays.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Oscar Dowson <[email protected]>
  • Loading branch information
blegat and odow authored May 28, 2024
1 parent fccdf2c commit 2c10afd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/SparseArrays.jl
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ function test_zero()
MA.operate!(zero, v)
@test isempty(SparseArrays.nonzeroinds(v))
@test isempty(SparseArrays.nonzeros(v))
A = SparseArrays.sprand(Float64, 2, 2, 0.5)'
A = SparseArrays.sprand(Float64, 2, 2, 0.5)
MA.operate!(zero, A)
@test iszero(SparseArrays.nnz(A))
@test isempty(SparseArrays.nonzeros(A))
Expand Down

0 comments on commit 2c10afd

Please sign in to comment.