Skip to content

Commit

Permalink
remove numpy.int
Browse files Browse the repository at this point in the history
  • Loading branch information
dstndstn committed Dec 19, 2022
1 parent 5e930b1 commit 3095565
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/fits.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def cut_array(val, I, name=None, to=None):
val[I] = to
return

inttypes = [int, np.int64, np.int32, np.int]
inttypes = [int, np.int64, np.int32, np.int_]

if type(val) in [list,tuple] and type(I) in inttypes:
if to is None:
Expand Down

0 comments on commit 3095565

Please sign in to comment.