Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UPDATE Sliding.py depreciated built in numpy int alias #77

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

umairrkhn
Copy link

addressed a NumPy deprecation warning that arose due to the use of np.int. As of NumPy 1.20, np.int is a deprecated alias for the built-in int. To prevent potential issues and align with the recommended practices, I replaced instances of np.int with the built-in int. This change ensures compatibility with future releases of NumPy.

For users reviewing this code, please be aware that the use of np.int has been deprecated, and it is advisable to use int directly. If specifying precision is necessary, consider using np.int64 or np.int32 as appropriate.

 addressed a NumPy deprecation warning that arose due to the use of np.int. As of NumPy 1.20, np.int is a deprecated alias for the built-in int. To prevent potential issues and align with the recommended practices, I replaced instances of np.int with the built-in int. This change ensures compatibility with future releases of NumPy.

For users reviewing this code, please be aware that the use of np.int has been deprecated, and it is advisable to use int directly. If specifying precision is necessary, consider using np.int64 or np.int32 as appropriate.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant