[SciPy-dev] scipy.optimize.nonlin rewrite

Anne Archibald aarchiba@physics.mcgill...
Sun Nov 30 20:59:32 CST 2008

2008/11/30 Gideon Simpson <simpson@math.toronto.edu>:
> Still no args input for inputting arguments to the function F?
> Sorry to complain, but the absence of this has put me off using these
> routines as it would require a rewrite of much of my code.


Instead of
optimize.whatever(F, args=extra)
just use
optimize.whatever(lambda x: F(x,extra))


More information about the Scipy-dev mailing list