Closed Doudou-Wu closed 2 weeks ago
This change will cause an error:
Python 3.9.20 (main, Oct 3 2024, 07:27:41)
[GCC 11.2.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> int_
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'int_' is not defined
Description
Replaced
np.int
with Python's built-inint
to address the deprecation warning in NumPy 1.20+.Issue
Fixes compatibility issue with NumPy 1.20+, which deprecated
np.int
.Testing
All tests were run successfully, and no existing functionality was broken.