Skip to content

Fix deprecated np.int0 usage.#18

Open
hafeezhmha wants to merge 1 commit intoJC1DA:mainfrom
hafeezhmha:patch-1
Open

Fix deprecated np.int0 usage.#18
hafeezhmha wants to merge 1 commit intoJC1DA:mainfrom
hafeezhmha:patch-1

Conversation

@hafeezhmha
Copy link

@hafeezhmha hafeezhmha commented Oct 25, 2024

This pull request addresses the usage of the deprecated np.int0 function in the codebase. The np.int0 type has been marked for deprecation in recent versions of NumPy, which may lead to compatibility issues in future updates. This change replaces np.int0 with np.int64, ensuring that the code adheres to current best practices and maintains compatibility with newer versions of NumPy.

This fix improves code reliability and prevents potential errors that could arise from using deprecated functions. Please review the changes and consider merging them into the main branch.

Fix deprecated np.int0 usage.
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