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

Ed Schofield schofield at ftw.at
Tue Apr 26 13:54:39 EDT 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