-
Notifications
You must be signed in to change notification settings - Fork 49
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
ndarray.reshape
prototype mismatch
#556
Comments
Hum, this seems less trivial to fix than I naively assumed. The root issue is that in order to properly support the Is this blocking your work in any way ? |
I had an attempt at a fix, too, and likewise quickly discovered that various things were breaking far away and left it before getting too sidetracked. This doesn't block anything that I've discovered so far - I just need to mimic the older-style prototype on my side, but it's an obscure enough feature that I don't think it matters for anything user-facing. The |
Actually just got more clever with decorators and now don't need any special handling on my end, I'll just inherit whatever improvements happen in unyt now :) |
As of numpy 2.1 the
ndarray.reshape
function has a new keyword argumentcopy
(https://numpy.org/doc/2.1/reference/generated/numpy.ndarray.reshape.html) that is not reflected in theunyt_quantity
implementation:unyt/unyt/array.py
Line 2273 in f228662
The text was updated successfully, but these errors were encountered: