Skip to content

Commit

Permalink
Added test for spones
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Peairs committed Sep 14, 2015
1 parent 73d99f4 commit 29caf27
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/sparsedir/sparse.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1134,3 +1134,7 @@ let
@test op(A13024, B13024) == op(full(A13024), full(B13024))
end
end

let A = 2. * speye(5,5)
@test full(spones(A)) == eye(full(A))
end

0 comments on commit 29caf27

Please sign in to comment.