We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a995710 + fb76411 commit 3652f16Copy full SHA for 3652f16
nibabel/streamlines/array_sequence.py
@@ -20,7 +20,7 @@ def is_array_sequence(obj):
20
def is_ndarray_of_int_or_bool(obj):
21
return (isinstance(obj, np.ndarray) and
22
(np.issubdtype(obj.dtype, np.integer) or
23
- np.issubdtype(obj.dtype, np.bool)))
+ np.issubdtype(obj.dtype, np.bool_)))
24
25
26
class _BuildCache(object):
0 commit comments