We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80fead7 commit 941f2e1Copy full SHA for 941f2e1
pybobyqa/util.py
@@ -44,7 +44,7 @@ def sumsq(x):
44
return np.dot(x, x)
45
46
47
-def eval_objective(objfun, x, args, verbose=True, eval_num=0, pt_num=0, full_x_thresh=6, check_for_overflow=True):
+def eval_objective(objfun, x, args=(), verbose=True, eval_num=0, pt_num=0, full_x_thresh=6, check_for_overflow=True):
48
# Evaluate objective function
49
if check_for_overflow:
50
try:
0 commit comments