[Python-modules-team] Bug#474930: python-scipy: docstring for leastsq (in scipy.optimize) incorrectly describes 'ier'
Ondrej Certik
ondrej at certik.cz
Tue Apr 8 20:06:38 UTC 2008
On Tue, Apr 8, 2008 at 1:24 AM, Andrzej Novak <novakyu at gmail.com> wrote:
> Package: python-scipy
> Version: 0.6.0-5.1
> Severity: minor
>
>
> Docstring for leastsq incorrectly describes the returned variable
> ier. It states,
>
> ier -- an integer flag. If it is equal to 1 the solution was
> found. If it is not equal to 1, the solution was not
> found and the following message gives more information.
>
> This is correct for "fsolve"; however, for leastsq, ier values of 1, 2,
> 3 and 4 all indicate no errors (see the definition of "errors" within
> the function in
> /usr/share/pycentral/python-scipy/site-packages/scipy/optimize/minpack.py).
Thanks Andrzej for the bug report. This still applies to the latest
svn upstream, so I just reported it:
http://projects.scipy.org/pipermail/scipy-dev/2008-April/008754.html
Ondrej
More information about the Python-modules-team
mailing list