Skip to content

Commit

Permalink
Fix order of statements
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelma committed Aug 7, 2023
1 parent 8478314 commit 6ca0d53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/run_spineopt_standard.jl
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,8 @@ function optimize_model!(m::Model; log_level=3, calculate_duals=false, save_outp
)
calculate_duals && _calculate_duals(m; log_level=log_level)
if save_outputs
@timelog log_level 2 "Saving outputs..." _save_outputs!(m; iterations=iterations)
@timelog log_level 2 "Postprocessing results..." postprocess_results!(m)
@timelog log_level 2 "Saving outputs..." _save_outputs!(m; iterations=iterations)
end
else
m.ext[:spineopt].has_results[] = false
Expand Down

0 comments on commit 6ca0d53

Please sign in to comment.