Skip to content

Commit

Permalink
fixed np.bool bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
pravirkr committed May 9, 2023
1 parent 4e945cc commit 4e613e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_kernels.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def test_zscore_double_mad(self):
class TestRFI(object):
def test_double_mad_mask(self):
input_arr = np.array([1, 2, 3, 4, 5, 20], dtype=np.uint8)
desired = np.array([0, 0, 0, 0, 0, 1], dtype=np.bool)
desired = np.array([0, 0, 0, 0, 0, 1], dtype=bool)
np.testing.assert_array_equal(desired, rfi.double_mad_mask(input_arr))


Expand Down

0 comments on commit 4e613e6

Please sign in to comment.