Skip to content

Commit

Permalink
BUG: add iteration steps for the final objective evaluation
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffgortmaker committed Jan 4, 2022
1 parent 27d689a commit 33ad24d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyblp/economies/problem.py
Original file line number Diff line number Diff line change
Expand Up @@ -652,6 +652,7 @@ def wrapper(new_theta: Array, iterations: int, evaluations: int) -> ObjectiveRes
final_progress = compute_step_progress(
theta, progress, compute_gradient, compute_hessian, compute_micro_covariances
)
iteration_stats.append(final_progress.iteration_stats)
optimization_stats.evaluations += 1
results = ProblemResults(
final_progress, last_results, step, last_step, step_start_time, optimization_start_time,
Expand Down

0 comments on commit 33ad24d

Please sign in to comment.