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