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

MTN fix compat numpy2 #35

Merged
merged 13 commits into from
Jan 17, 2025
Merged

Conversation

tomMoral
Copy link
Contributor

Instantiating ConvBPDNDictLearn gives an error that np.product does not exist with the latest version of numpy.
This PR changes np.product with np.prod to improve compatibility with newest version of numpy.

@bwohlberg
Copy link
Owner

Thank you for the fix. I will try to get this merged soon.

Copy link

codecov bot commented Jan 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.05%. Comparing base (9d10731) to head (3c206b5).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #35      +/-   ##
==========================================
- Coverage   87.10%   87.05%   -0.05%     
==========================================
  Files          56       56              
  Lines        7625     7567      -58     
==========================================
- Hits         6641     6587      -54     
+ Misses        984      980       -4     

@bwohlberg bwohlberg merged commit a53b0aa into bwohlberg:master Jan 17, 2025
7 of 8 checks passed
@tomMoral tomMoral deleted the MTN_compat_numpy2 branch January 20, 2025 09:53
@tomMoral
Copy link
Contributor Author

Thank you very much for the quick (and much larger) fix :)

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