Author: Maciej Fijalkowski <[email protected]>
Branch: numpy-single-jitdriver
Changeset: r52038:67dce8d83391
Date: 2012-02-02 19:22 +0200
http://bitbucket.org/pypy/pypy/changeset/67dce8d83391/
Log: oops
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
@@ -888,7 +888,8 @@
self.identity = identity
def compute_first_step(self, sig, frame):
- frame.identity = self.identity.convert_to(self.calc_dtype)
+ if self.identity is not None:
+ frame.identity = self.identity.convert_to(self.calc_dtype)
def create_sig(self):
return signature.AxisReduceSignature(self.ufunc, self.name,
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit