[Numpy-discussion] A bug in numarray sign function.
Nadav Horesh
NadavH at VisionSense.com
Thu Jan 6 04:26:29 EST 2005
>>> print numarray.__version__
1.2a
It is from the CVS repositoty
Nadav
Stephen Walton wrote:
> 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