You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mxnet.apache.org by "Deokjae Lee (JIRA)" <ji...@apache.org> on 2018/04/10 03:30:00 UTC
[jira] [Created] (MXNET-300) Fix ndarray assignment bug with index
-1
Deokjae Lee created MXNET-300:
---------------------------------
Summary: Fix ndarray assignment bug with index -1
Key: MXNET-300
URL: https://issues.apache.org/jira/browse/MXNET-300
Project: Apache MXNet
Issue Type: Bug
Reporter: Deokjae Lee
## Description ##
This is a sequel of PR #10440. I missed that there is a same kind of bug with the assignment. For example, the following code causes an error. This PR fixes it.
```python
x = mx.nd.array([[1,2,3],[4,5,6]])
x[-1,-1] = 10
print(x)
```
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org