Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Apostolos Chalkis committed Jun 20, 2024
1 parent 13809c3 commit c3b8e3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/preprocess/analytic_center_linear_ineq.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,11 @@ std::tuple<VT, bool> analytic_center_linear_ineq(MT const& A, VT const& b,
get_hessian_grad_logbarrier<MT, VT, NT>(A, A_trans, b, x, Ax, H, grad, b_Ax);
grad_err = grad.norm();

if(iter >= max_iters || grad_err <= grad_err_tol || rel_pos_err <= rel_pos_err_tol) {
if (iter >= max_iters || grad_err <= grad_err_tol || rel_pos_err <= rel_pos_err_tol) {
converged = true;
break;
}
} while(true);
} while (true);

return std::make_tuple(x, converged);
}
Expand Down

0 comments on commit c3b8e3c

Please sign in to comment.