Author: Richard Plangger <[email protected]>
Branch: vecopt
Changeset: r78611:51d259166ee5
Date: 2015-07-20 18:19 +0200
http://bitbucket.org/pypy/pypy/changeset/51d259166ee5/
Log: all / any removed rffi.cast when numpy Bool is created in convert_to
diff --git a/pypy/module/micronumpy/types.py b/pypy/module/micronumpy/types.py
--- a/pypy/module/micronumpy/types.py
+++ b/pypy/module/micronumpy/types.py
@@ -358,8 +358,7 @@
@specialize.argtype(1)
def box(self, value):
- box = Primitive.box(self, value)
- if box.value:
+ if value:
return self._True
else:
return self._False
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit