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

Fix casting warnings #1400

Merged
merged 3 commits into from
Jul 19, 2023
Merged

Fix casting warnings #1400

merged 3 commits into from
Jul 19, 2023

Conversation

erikvansebille
Copy link
Member

This PR fixes some casting warnings (invalid value encountered in cast) that are thrown by numpy > 1.20.3

…rning

In recent version of numpy, we see a "RuntimeWarning: invalid value encountered in cast". This commit fixes that
Copy link
Member

@michaeldenes michaeldenes left a comment

Choose a reason for hiding this comment

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

This now solves the warnings for me!

@erikvansebille erikvansebille merged commit bf98c97 into master Jul 19, 2023
10 checks passed
@erikvansebille erikvansebille deleted the fix_casting_warnings branch July 19, 2023 14:03
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