Skip to content

Commit 666157b

Browse files
committed
Py3 fix
1 parent 3dc6214 commit 666157b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

numba/dummyarray.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -215,12 +215,12 @@ def iter_contiguous_extent(self):
215215
outershape = self.shape[:-1]
216216

217217
if innerdim.is_contiguous(self.itemsize):
218-
oslen = [xrange(s) for s in outershape]
218+
oslen = [range(s) for s in outershape]
219219
for indices in itertools.product(*oslen):
220220
base = compute_index(indices, outerdims)
221221
yield base + innerdim.start, base + innerdim.stop
222222
else:
223-
oslen = [xrange(s) for s in self.shape]
223+
oslen = [range(s) for s in self.shape]
224224
for indices in itertools.product(*oslen):
225225
offset = compute_index(indices, self.dims)
226226
yield offset, offset + self.itemsize

0 commit comments

Comments
 (0)