[pypy-commit] pypy default: fix, thanks alex
fijal
noreply at buildbot.pypy.org
Sun Nov 30 18:00:01 CET 2014
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch:
Changeset: r74765:e1cfe5a7c951
Date: 2014-11-30 18:59 +0200
http://bitbucket.org/pypy/pypy/changeset/e1cfe5a7c951/
Log: fix, thanks alex
diff --git a/pypy/module/micronumpy/iterators.py b/pypy/module/micronumpy/iterators.py
--- a/pypy/module/micronumpy/iterators.py
+++ b/pypy/module/micronumpy/iterators.py
@@ -154,7 +154,7 @@
index = state.index
if self.track_index:
index += 1
- indices = [state.indices[i] for i in range(len(state.indices))]
+ indices = state.indices[:]
offset = state.offset
if self.contiguous:
offset += self.array.dtype.elsize
More information about the pypy-commit
mailing list