Skip to content

Commit

Permalink
Correct unpacking of final results for diagnostic info (fixes #23)
Browse files Browse the repository at this point in the history
  • Loading branch information
lindonroberts committed Oct 27, 2024
1 parent d488f21 commit 45056ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dfols/diagnostic_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def save_info_from_control(self, control, nruns, iter_this_run, save_poisedness=
self.data["rho"].append(control.rho)
# And from a model?
self.data["npt"].append(control.model.npt())
x, rvec, f, jac, nsamples = control.model.get_final_results()
x, rvec, f, jac, nsamples, eval_num, jac_eval_nums = control.model.get_final_results()
self.data["xk"].append(remove_scaling(x, control.scaling_changes))
self.data["rk"].append(rvec)
self.data["fk"].append(f)
Expand Down

0 comments on commit 45056ff

Please sign in to comment.