[SciPy-Dev] legendre regression

Warren Weckesser warren.weckesser at enthought.com
Mon Jan 31 13:32:57 EST 2011


On Mon, Jan 31, 2011 at 12:25 PM, Yaroslav Halchenko
<lists at onerussian.com>wrote:

> Switching to scipy (0.8.0) + numpy (1.5.1) from scipy (0.7.2) + numpy
> (1.4.1) reveals regression:
>
> *(Pdb) print legendre(1)(N.array([-0.999999999999 , -0.6, -0.2,  0.2,  0.6,
>  1. ]))
> [-1.  -0.6 -0.2  0.2  0.6  1. ]
>
> *(Pdb) print legendre(1)(N.array([-1 , -0.6, -0.2,  0.2,  0.6,  1. ]))
> [ inf -0.6 -0.2  0.2  0.6  1. ]
>
> while before it was giving correct boundary value (-1).
>
> Could anyone please check if it is still present in current HEAD?  imho
> worth a bugreport  (haven't ran into similar one upon query but decided to
> check -- may be it was resolved already).
>


This has been fixed; see ticket #1298:
http://projects.scipy.org/scipy/ticket/1298

Warren



>
> --
> =------------------------------------------------------------------=
> Keep in touch                                     www.onerussian.com
> Yaroslav Halchenko                 www.ohloh.net/accounts/yarikoptic
> _______________________________________________
> SciPy-Dev mailing list
> SciPy-Dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20110131/82dc6ad5/attachment.html>


More information about the SciPy-Dev mailing list