[pypy-commit] pypy numpy-dtype-refactor: stuff seems to translate!
alex_gaynor
noreply at buildbot.pypy.org
Sat Nov 12 01:07:38 CET 2011
Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: numpy-dtype-refactor
Changeset: r49352:d190df7f6bfb
Date: 2011-11-11 19:07 -0500
http://bitbucket.org/pypy/pypy/changeset/d190df7f6bfb/
Log: stuff seems to translate!
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
@@ -118,7 +118,7 @@
return self.unbox(v1) >= self.unbox(v2)
def bool(self, v):
- return bool(self.unbox(v))
+ return bool(self.for_computation(self.unbox(v)))
@simple_binary_op
def max(self, v1, v2):
More information about the pypy-commit
mailing list