We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3dc6214 commit 666157bCopy full SHA for 666157b
numba/dummyarray.py
@@ -215,12 +215,12 @@ def iter_contiguous_extent(self):
215
outershape = self.shape[:-1]
216
217
if innerdim.is_contiguous(self.itemsize):
218
- oslen = [xrange(s) for s in outershape]
+ oslen = [range(s) for s in outershape]
219
for indices in itertools.product(*oslen):
220
base = compute_index(indices, outerdims)
221
yield base + innerdim.start, base + innerdim.stop
222
else:
223
- oslen = [xrange(s) for s in self.shape]
+ oslen = [range(s) for s in self.shape]
224
225
offset = compute_index(indices, self.dims)
226
yield offset, offset + self.itemsize
0 commit comments