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 KCI.py #156

Merged
merged 1 commit into from
Dec 20, 2023
Merged

Update KCI.py #156

merged 1 commit into from
Dec 20, 2023

Conversation

fileds
Copy link
Contributor

@fileds fileds commented Dec 20, 2023

Changed np.int (deprecated) to int according to error message in numpy. Consider using np.int64 or np.int32 if precision is needed.

AttributeError: module 'numpy' has no attribute 'int'.
np.int was a deprecated alias for the builtin int. To avoid this error in existing code, use int by itself. Doing this will not modify any behavior and is safe. When replacing np.int, you may wish to use e.g. np.int64 or np.int32 to specify the precision. If you wish to review your current use, check the release note link for additional information.

Changed np.int (deprecated) to int according to error message in numpy.

Signed-off-by: Filip Edström <[email protected]>
@kunwuz kunwuz self-requested a review December 20, 2023 22:50
Copy link
Collaborator

@kunwuz kunwuz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your update!

@kunwuz kunwuz merged commit 208ab45 into py-why:main Dec 20, 2023
2 checks passed
@kunwuz kunwuz mentioned this pull request Apr 8, 2024
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.

2 participants