Uploaded image for project: 'Apache MXNet (Retired)'
  1. Apache MXNet (Retired)
  2. MXNET-300

Fix ndarray assignment bug with index -1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: To Do
    • Major
    • Resolution: Unresolved
    • None
    • None

    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
      ```

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              asitstands Deokjae Lee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m