Commits

Maciej Fijalkowski committed aaa9c4e

OneDimIterator has a promoted step. skeptical

  • Participants
  • Parent commits 11d8122
  • Branches backend-vector-ops

Comments (0)

Files changed (1)

File pypy/module/micronumpy/interp_iter.py

         arr = instantiate(OneDimIterator)
         arr.size = self.size
         arr.step = self.step
-        arr.offset = self.offset + self.step
+        arr.offset = self.offset + jit.promote(self.step)
         return arr
 
     def done(self):