Skip to content

Commit

Permalink
add test for JuliaLang#5386
Browse files Browse the repository at this point in the history
  • Loading branch information
mlubin committed Jan 13, 2014
1 parent 5446521 commit ae97589
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/sparse.jl
Original file line number Diff line number Diff line change
Expand Up @@ -182,3 +182,7 @@ mfe22 = eye(Float64, 2)

# issue #5169
@test nnz(sparse([1,1],[1,2],[0.0,-0.0])) == 0

# issue #5386
I,J,V = findnz(sparse([1,1],[1,2],[1.0,0.0]))
@test length(I) == length(J) == length(V) == 1

0 comments on commit ae97589

Please sign in to comment.