[pypy-commit] pypy matrixmath-dot: mistake?

fijal noreply at buildbot.pypy.org
Thu Jan 19 20:34:16 CET 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: matrixmath-dot
Changeset: r51502:275370ca0170
Date: 2012-01-19 21:33 +0200
http://bitbucket.org/pypy/pypy/changeset/275370ca0170/

Log:	mistake?

diff --git a/pypy/module/micronumpy/interp_numarray.py b/pypy/module/micronumpy/interp_numarray.py
--- a/pypy/module/micronumpy/interp_numarray.py
+++ b/pypy/module/micronumpy/interp_numarray.py
@@ -458,7 +458,6 @@
         ri = ViewIterator(0, _r[0], _r[1], arr.broadcast_shape)
         while not frame.done():
             v = sig.eval(frame, arr).convert_to(sig.calc_dtype)
-            z = result.getitem(ri.offset)
             value = add(sig.calc_dtype, v, result.getitem(ri.offset))
             result.setitem(ri.offset, value)
             frame.next(shapelen)


More information about the pypy-commit mailing list