You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting this! I think this is likely due to the way we set up padding in these arrays. Internally, we have the GridTreeNode objects, and then in the grid arrays we expose them as GridTreePadded:
So I would guess either the np.int is wrong for the pointer values (and that would need to be fixed somehow to get it to work via numpy) or there's an alignment issue that I didn't take into account.
One possible solution -- which would break ABI but that's not so bad -- would be to move the children pointers to the end of the struct, and then remove them from the numpy array views. There we'd need to make sure our strides were still correct in the view.
Bug report
Bug summary
When running the tests on a 32-bit Intel machine, test_grid_arrays_view fails. This failure does not happen on x86_64.
Actual outcome
Expected outcome
I'd expect the tests to pass. I am a bit wondering here why this happens only on i386, while the same runs on x86_64 with the same packages installed.
Version Information
(All installed via apt-get)
The text was updated successfully, but these errors were encountered: