[SciPy-dev] Small bug fix in l-bfgs-b solver

Ed Schofield schofield at ftw.at
Wed Nov 24 09:41:01 EST 2004


The file lbfgsb.py in Lib/optimize/ has a bug that prevents it working 
with an argument list.

Here's a patch:

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

Cheers,
Ed




More information about the SciPy-Dev mailing list