Skip to content

Commit

Permalink
make regression test work for reverted NaN fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
charris committed Jul 20, 2008
1 parent 454985b commit 7f91116
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numpy/core/tests/test_regression.py
Expand Up @@ -1090,7 +1090,7 @@ def check_sign_for_complex_nan(self, level=rlevel):
"""Ticket 794."""
C = np.array([-np.inf, -2+1j, 0, 2-1j, np.inf, np.nan])
have = np.sign(C)
want = np.array([-1+0j, -1+0j, 0+0j, 1+0j, 1+0j, np.nan+0j])
want = np.array([-1+0j, -1+0j, 0+0j, 1+0j, 1+0j, 0+0j])
assert_equal(have, want)


Expand Down

0 comments on commit 7f91116

Please sign in to comment.