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 deprecation warning: #726

Merged
merged 1 commit into from
Mar 13, 2024
Merged

fix deprecation warning: #726

merged 1 commit into from
Mar 13, 2024

Conversation

cwmeijer
Copy link
Contributor

Gets rid of following warning:
/Users/runner/work/dianna/dianna/dianna/utils/maskers.py:106: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)

See in log: https://github.com/dianna-ai/dianna/actions/runs/8250917332/job/22566702492#step:4:622 line 571

/Users/runner/work/dianna/dianna/dianna/utils/maskers.py:106: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
https://github.com/dianna-ai/dianna/actions/runs/8250917332/job/22566702492#step:4:622
line 571
@cwmeijer cwmeijer merged commit be49e12 into main Mar 13, 2024
16 of 17 checks passed
@cwmeijer cwmeijer deleted the deprecation_warning_fix branch March 13, 2024 15:43
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.

None yet

2 participants