Author: mattip
Branch: matrixmath
Changeset: r49863:529066ec8ea9
Date: 2011-11-27 21:41 +0200
http://bitbucket.org/pypy/pypy/changeset/529066ec8ea9/
Log: fix find_size for Scalar
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
@@ -812,7 +812,7 @@
self.value = value
def find_size(self):
- raise ValueError
+ return 1
def get_concrete(self):
return self
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit