-
Notifications
You must be signed in to change notification settings - Fork 10
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
Bug: slice assignment on multidimensional array produces out of bounds error when index within bounds #54
Comments
This is only when using the full range of a column or row. If doing a subslice assignment that does not include full row/column, the slice assignment works as expected. |
Open
tjad
added a commit
to Yobisense/mxnet.rb
that referenced
this issue
Dec 6, 2020
@mrkn For this issue is only an incomplete feature. there was intent to incorporate exclude_end. this defaults to false currently and is not dynamic (still to be done). Line 78 in edc85f6
Could we default this to true , or is the code reliant on this defaulting to false ? - realise tests would need to change.
|
Ah, perhaps it's this, should be strictly > Line 231 in edc85f6
|
tjad
added a commit
to Yobisense/mxnet.rb
that referenced
this issue
Dec 6, 2020
tjad
added a commit
to Yobisense/mxnet.rb
that referenced
this issue
Dec 6, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Affects all versions.
Code to reproduce
Output:
git/mxnet.rb/lib/mxnet/ndarray.rb:232:in block in []=' IndexError (slicing stop 5 exceeds limit of 5)
The text was updated successfully, but these errors were encountered: