Skip to content

Commit

Permalink
test that we handle issparse on subarrays right
Browse files Browse the repository at this point in the history
  • Loading branch information
oxinabox committed May 12, 2021
1 parent ca0532f commit 06ccfca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions stdlib/SparseArrays/test/sparse.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2166,6 +2166,7 @@ end
@test issparse(UpperTriangular(Array(m))) == false
@test issparse(LinearAlgebra.UnitUpperTriangular(Array(m))) == false
@test issparse(Base.ReshapedArray(m, (20, 5), ()))
@test issparse(@view m[1:3, :])

# greater nesting
@test issparse(Symmetric(UpperTriangular(m)))
Expand Down

0 comments on commit 06ccfca

Please sign in to comment.