[SciPy-dev] Bug fix in optimize/lbfgsb.py

Ed Schofield schofield at ftw.at
Tue Apr 26 12:54:39 CDT 2005


Hi all,

This patch fixes a bug in SciPy 0.3.2 when passing user-defined
arguments to the LBFGSB minimization routine.

File: optimize/lbfgsb.py

179c179
<             f[0], g = func_and_grad(x, *args)
---
>             f[0], g = func_and_grad(x)

This bug is outstanding from version 0.3 (see
http://www.scipy.net/pipermail/scipy-user/2004-June/002935.html).

Best wishes,
Ed




More information about the Scipy-dev mailing list