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

Todd Miller jmiller at stsci.edu
Thu Jan 6 08:12:00 EST 2005


On Thu, 2005-01-06 at 07:22, Nadav Horesh wrote:
>  >>> print numarray.__version__
> 1.2a
> 
> It is from the CVS repositoty
> 
>   Nadav

Thanks Nadav.  Fixed in CVS.

Regards,
Todd

> 
> 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.
> >
> >
> 
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by: Beat the post-holiday blues
> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/numpy-discussion
-- 





More information about the NumPy-Discussion mailing list