Commits

Maciej Fijalkowski  committed 342c9cf

mark this function as unroll_safe

  • Participants
  • Parent commits 385b313
  • Branches numpy-reintroduce-jit-drivers

Comments (0)

Files changed (1)

File pypy/module/micronumpy/arrayimpl/concrete.py

     def setitem_index(self, space, index, value):
         self.setitem(self._lookup_by_unwrapped_index(space, index), value)
 
+    @jit.unroll_safe
     def _single_item_index(self, space, w_idx):
         """ Return an index of single item if possible, otherwise raises
         IndexError