Skip to content

Commit

Permalink
Update test_coo.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Illviljan committed Oct 29, 2023
1 parent 681e811 commit c0f3c7a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sparse/tests/test_coo.py
Original file line number Diff line number Diff line change
Expand Up @@ -1370,7 +1370,9 @@ def test_complex_methods(x):
s = sparse.COO.from_numpy(x)
assert_eq(s.imag, x.imag)
assert_eq(s.real, x.real)
assert_eq(s.conj(), x.conj())

if np.issubdtype(s.dtype, np.number):
assert_eq(s.conj(), x.conj())


def test_np_matrix():
Expand Down

0 comments on commit c0f3c7a

Please sign in to comment.