Reformatted osqp.c
@@ -287,8 +287,8 @@ c_int osqp_solve(OSQPWorkspace * work){
print_summary(work);
}
- // Check algorithm termination
if (can_check_termination){
+ // Check algorithm termination
if (check_termination(work, 0)){
// Terminate algorithm
break;
