From 3095565955e3ff26507cf1f7233b1e973a88c643 Mon Sep 17 00:00:00 2001 From: Dustin Lang Date: Mon, 19 Dec 2022 16:41:15 -0500 Subject: [PATCH] remove numpy.int --- util/fits.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/fits.py b/util/fits.py index 91dd6e01a..a96befec1 100644 --- a/util/fits.py +++ b/util/fits.py @@ -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: