scipy/scipy — comment on commit 2570a3b685fdc45e0bc5d00f27e71ba78993efad
File: scipy/optimize/lbfgsb.py line 153
By dlaxalde:

bransfor wrote:
> Like in fmin_tnc, doesn't splitting f, g = func(x, *args) into two function call double the number of function evaluations in cases where func returns a tuple of f and g?

Yes.