[Numpy-discussion] A bug in numarray sign function.

Stephen Walton stephen.walton at csun.edu
Wed Jan 5 09:16:05 EST 2005


Nadav Horesh wrote:

> in numarraycore.py line 1504 should be changed from
>
>    return zeros(shape(m))-less(m,0)+greater(m,0)

What version of numarray are you running?  I don't see this code in 
version 1.1.1.  (I did a 'grep zeros(shape(m)) *.py' in 
/usr/lib/python2.3/site-packages/numarray and got no matches; line 1504 
of my copy of numarraycore.py doesn't look anything like the above.





More information about the NumPy-Discussion mailing list