On Sat, May 17, 2008 at 5:55 AM, Stuart Brorson <[EMAIL PROTECTED]> wrote:
> >> In [66]: numpy.sign(numpy.nan) > >> Out[66]: 0.0 > >> > >> IMO, the output should be NaN, not zero. > > > The implementation is actually in a #define macro in > > umathmodule.c.src. Look for _SIGN1 (and _SIGNC if you want to clean up > > the complex versions, too). > > OK, I submitted a patch. #794 in the tracker. > Let's wait until the 1.2 branch opens so as to avoid merge collisions. I'll fix these things up at that point. Chuck
_______________________________________________ Numpy-discussion mailing list [email protected] http://projects.scipy.org/mailman/listinfo/numpy-discussion
