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

Conversion of an array with ndim > 0 to a scalar is deprecated #647

Open
jakirkham opened this issue Jul 22, 2024 · 1 comment
Open

Conversion of an array with ndim > 0 to a scalar is deprecated #647

jakirkham opened this issue Jul 22, 2024 · 1 comment

Comments

@jakirkham
Copy link

jakirkham commented Jul 22, 2024

Noticing this warning on CI:

hdbscan/tests/test_flat.py::test_flat_base_default PASSED                [  1%]
##[warning]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.)
...
hdbscan/tests/test_flat.py::test_approx_predict_default PASSED           [  6%]
##[warning]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.)
...
@jakirkham
Copy link
Author

Looks like we may need the patch in comment: #646 (comment)

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

No branches or pull requests

1 participant