-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
np.array does not always return the order asked for #465
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
Comments
|
Git master.
Probably. That said, it triggers the cython checks for ordering, so we |
I don't think it is related to 420, but I will have a look, must have something to do directly with the ndmin mechanism is my guess, the second stride should be set according to the order but they seem to be always set to the element size. @njsmith The returned array must not be C- and F-Contiguous though, its just not how numpy rolls at the moment (that is exactly the change I proposed in that cflags branch), and if it was, numpy would currently explode. |
Thanks to you guys for taking care of this! |
Closes "Issue numpy#465", strides need to be set according to the requested contiguous flags.
Closes "Issue numpy#465", strides need to be set according to the requested contiguous flags.
This has been fixed in 1.7. with PR gh-466 |
Is the behavior below expected? It looks like a bug to me:
The text was updated successfully, but these errors were encountered: