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 Sep 18, 2020
1 parent a738ce2 commit c8400d7
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 @@ -2115,6 +2115,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 c8400d7

Please sign in to comment.