Skip to content

Commit 19bd15e

Browse files
Kotochlebjmirabel
andauthored
Update src/csqp.cpp
Co-authored-by: Joseph Mirabel <[email protected]>
1 parent 013806e commit 19bd15e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/csqp.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ bool SolverCSQP::solve(const std::vector<Eigen::VectorXd>& init_xs,
365365
}
366366
}
367367

368-
// If reached max iter, still compute KKT residual
368+
// If reached max iter and timeout not reached, still compute KKT residual
369369
if (extra_iteration_for_last_kkt_ && !max_solve_time_reached_) {
370370
// Compute gradients
371371
calc(true);

0 commit comments

Comments
 (0)