[ 
https://issues.apache.org/jira/browse/MXNET-300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Deokjae Lee updated MXNET-300:
------------------------------
    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)
 ```

  was:
## 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)
```


> 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
>            Priority: Major
>
> 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-unsubscr...@mxnet.apache.org
For additional commands, e-mail: issues-h...@mxnet.apache.org

Reply via email to