-
Notifications
You must be signed in to change notification settings - Fork 55
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
Make unit tests compatible with NumPy 2.x #1826
base: main
Are you sure you want to change the base?
Conversation
Numpy 2 unittest Warnings
|
Sample stack trace from Marc:
|
Due Diligence
Description
Fixed DeprecationWarnings from numpy 2.x
__array__
implementation doesn't accept a copy keyword (probably related toTensor.__array__
)__array_wrap__
must accept context and return_scalar argumentsnp.cross()
)Issue/s resolved: #1552
Changes proposed:
Type of change
Memory requirements
Performance
Does this change modify the behaviour of other functions? If so, which?
yes / no