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
The error appears to be originated when creating the buffer results, that is expected to contain the whole data.
Since it is initialized with shape (2, 2+2), its stride is different from both a, and b.
Then Array.setitem fails as it is no yet implemented to set items with different stride.
I am unsure if it is a bug. If it is not yet implemented, maybe it could be handy to raise an error for axis != 0 inside concatenate.
The text was updated successfully, but these errors were encountered:
That's a limitation of the current implementation. There are not currently plans to address this. I'd be open to considering a PR that adds a better error message.
The function only works for axis = 0.
To replicate:
Error: "cannot assign between arrays of differing strides"
The error appears to be originated when creating the buffer
results
, that is expected to contain the whole data.Since it is initialized with shape (2, 2+2), its stride is different from both
a
, andb
.Then
Array.setitem
fails as it is no yet implemented to set items with different stride.I am unsure if it is a bug. If it is not yet implemented, maybe it could be handy to raise an error for axis != 0 inside concatenate.
The text was updated successfully, but these errors were encountered: