Skip to content

Commit 80c5de7

Browse files
committed
Bugfix in construction of initial objective value (not used elsewhere, no impact to results)
1 parent 3ac9414 commit 80c5de7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dfols/solver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def solve_main(objfun, x0, args, xl, xu, npt, rhobeg, rhoend, maxfun, nruns_so_f
109109
rvec_list = np.zeros((number_of_samples, m))
110110
f_list = np.zeros((number_of_samples,))
111111
rvec_list[0, :] = r0
112-
f_list[0] = sumsq(f0)
112+
f_list[0] = f0
113113
num_samples_run = 1
114114
exit_info = None
115115

0 commit comments

Comments
 (0)