[SciPy-User] scipy.stats.linregress
Jerome Kieffer
Jerome.Kieffer at esrf.fr
Tue Feb 12 11:45:57 EST 2013
On Tue, 12 Feb 2013 10:48:33 -0500
josef.pktd at gmail.com wrote:
> On Tue, Feb 12, 2013 at 10:33 AM, Jerome Kieffer <Jerome.Kieffer at esrf.fr> wrote:
> > On Tue, 12 Feb 2013 07:54:38 -0500
> > josef.pktd at gmail.com wrote:
> >
> >> Volunteers for a pull request ?
> >> and for checking that the test suite has a case with negative r, so
> >> this doesn't get changed by accident.
> >
> > I can ... but I am not used to the tests in scipy
>
> Usually I just have to search the test folder by function.
>
the patch for the code is trivial...
but get a valid test-case (currently breaking) is not trivial, especially that numpy.cov is casting to double precision (I have seen R<-1 only with single precision arithmetic)
I am preparing a pull-request.
Cheers,
--
Jérôme Kieffer
On-Line Data analysis / Software Group
ISDD / ESRF
tel +33 476 882 445
More information about the SciPy-User
mailing list