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

Remove deprecated np.product #660

Merged
merged 1 commit into from
Jun 30, 2023
Merged

Remove deprecated np.product #660

merged 1 commit into from
Jun 30, 2023

Conversation

hoxbro
Copy link
Member

@hoxbro hoxbro commented Jun 30, 2023

Removes warning seen in numpy 1.25:

❯ python -Wdefault -c "import numpy as np; np.product([1])"
sys:1: DeprecationWarning: `product` is deprecated as of NumPy 1.25.0, and will be removed in NumPy 2.0. Please use `prod` instead.

@hoxbro hoxbro merged commit 4a2b131 into main Jun 30, 2023
@hoxbro hoxbro deleted the product_to_prod branch June 30, 2023 11:12
ahuang11 pushed a commit that referenced this pull request Jul 5, 2023
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