Commit 1be1c197 authored by Unknown's avatar Unknown
Browse files

Bugfix to keep Python2.7 support

parent a55dad49
......@@ -160,7 +160,7 @@ class Optimize(object):
solver = scipy.optimize.__dict__[self.solver_type]
values = [joblib.delayed(solver)(self.obj_func, guess,
args=[vector, *self.obj_func_args],
args=[vector]+list(self.obj_func_args),
**solver_options) for vector, guess in zip(self.data, self.guess)]
results = joblib.Parallel(n_jobs=processors)(values)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment