Skip to content

Commit

Permalink
test: fix dense extraction in scipy sparse
Browse files Browse the repository at this point in the history
  • Loading branch information
mrava87 committed Jul 2, 2024
1 parent 95c62ff commit 2a94687
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytests/test_linearoperator.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def test_sparse(par):
D = np.diag(diag)
Dop = Diagonal(diag, dtype=par["dtype"])
S = Dop.tosparse()
assert_array_equal(S.A, D)
assert_array_equal(S.toarray(), D)


@pytest.mark.parametrize("par", [(par1), (par2), (par1j)])
Expand Down

0 comments on commit 2a94687

Please sign in to comment.