Skip to content

Commit

Permalink
Merge pull request scipy#17467 from WarrenWeckesser/ndimage-no-int0
Browse files Browse the repository at this point in the history
BUG: ndimage: Don't use np.int0 (it is the same as np.intp)
  • Loading branch information
mdhaber authored Nov 24, 2022
2 parents b4a970b + da3ff89 commit 3a4b42d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scipy/ndimage/_measurements.py
Original file line number Diff line number Diff line change
Expand Up @@ -1652,8 +1652,7 @@ def watershed_ift(input, markers, structure=None, output=None):
if input.shape != markers.shape:
raise RuntimeError('input and markers must have equal shape')

integral_types = [numpy.int0,
numpy.int8,
integral_types = [numpy.int8,
numpy.int16,
numpy.int32,
numpy.int_,
Expand Down

0 comments on commit 3a4b42d

Please sign in to comment.