-
Notifications
You must be signed in to change notification settings - Fork 56
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
Copy of a fortran array uses unnecessary transpose #1257
Labels
Comments
Blocked by #1128 |
Blocked by #1258 as tests can't be added |
Duplicate of #1241 |
yguclu
added a commit
that referenced
this issue
Aug 25, 2023
- Ensure `np.array` can be called with one variable argument (previously this caused an infinite loop over the elements of the array). - Simplify `_print_NumpyArray` to reduce duplication and fix #1241 and fix duplicate #1257. - Improve `np.array` implementation to correct the default order and add the `ndmin` parameter. - Add tests for new code. - Clean up `test_arrays.py` so failures reference the relevant issue, tuples use `==` instead of `np.array_equal`, and a more comprehensive check is carried out on returned arrays including checking the datatype and ordering. --------- Co-authored-by: EmilyBourne <louise.bourne@gmail.com> Co-authored-by: Yaman Güçlü <yaman.guclu@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Provide code to reproduce the behavior:
Error details
Provide the generated code, or the error message:
Expected behavior
a
should not be transposed to createb
Language
Fortran
Additional context
Identified in PR #1256
The text was updated successfully, but these errors were encountered: