1. Pypy
  2. Untitled project
  3. pypy

Commits

Matti Picus  committed 799a5ad

fix for failing test

  • Participants
  • Parent commits 91a199b
  • Branches default

Comments (0)

Files changed (1)

File pypy/module/micronumpy/loop.py

View file
  • Ignore whitespace
 
 def setitem_filter(arr, index, value, size):
     arr_iter = arr.create_iter()
-    index_iter = index.create_iter(arr.get_shape())
+    index_iter = index.create_iter(index.get_shape())
     value_iter = value.create_iter([size])
     shapelen = len(arr.get_shape())
     index_dtype = index.get_dtype()