Hi!
This PR addresses changes that will be shipped in https://github.com/numpy/numpy/pull/24794 - deprecation of np.int_ and np.uint. Instead of np.int_ an np.long is being introduced to match C type names.
np.int_ could be potentially replaced by np.intp but it would differ on windows 64bit (hopefully it will be solved once this PR gets merged).
Here I replaced np.int_ with np.dtype(int) as it's backward compatible way for defining a "default" integer dtype.
Hi! This PR addresses changes that will be shipped in https://github.com/numpy/numpy/pull/24794 - deprecation of
np.int_
andnp.uint
. Instead ofnp.int_
annp.long
is being introduced to match C type names.np.int_
could be potentially replaced bynp.intp
but it would differ on windows 64bit (hopefully it will be solved once this PR gets merged).Here I replaced
np.int_
withnp.dtype(int)
as it's backward compatible way for defining a "default" integer dtype.