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
Correct wrong array order and several bugs returning fortran ordered arrays #1180
base: devel
Are you sure you want to change the base?
Conversation
Hi @EmilyBourne, what's the status of this PR? |
This PR is supposed to fix a memory leak (I think some of the other bug fixes have been fixed in other branches since). It works perfectly for linux and mac but on Windows it is raising "double free". I need someone with a windows machine to run the test with a tool such as drmemory. I haven't been able to find anyone who has a windows machine and would be able to debug this. I managed to install pyccel on a very old Windows machine, but so far I haven't convinced it to run without getting stuck so I haven't been able to test myself. I can "fix" the problem with an |
In the Windows installation, do not use the `sleep` command to wait for an executable to finish, as this leads to random crashes. Instead, use the proper Windows commands (taken from PR #1180) to wait for the execution.
In the Windows installation, do not use the `sleep` command to wait for an executable to finish, as this leads to random crashes. Instead, use the proper Windows commands (taken from PR #1180) to wait for the execution.
In the Windows installation, do not use the `sleep` command to wait for an executable to finish, as this leads to random crashes. Instead, use the proper Windows commands (taken from PR #1180) to wait for the execution.
Correct wrong array order when initialising from a fortran ordered array (fixes #1171). Implemtation of tests showed several bugs when returning fortran ordered arrays. These are also fixed.
Commit Summary
np.array
which returns an array and checks flags_ndarray_to_numpy_strides
function to return a fortran ordered array