Skip to content

Commit afb9760

Browse files
committed
fix bool_checking logic
1 parent cf4c1e4 commit afb9760

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

highs/pdlp/hipdlp/pdhg.cc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -470,10 +470,11 @@ void PDLPSolver::solve(std::vector<double>& x, std::vector<double>& y) {
470470
x_current_ = x;
471471
y_current_ = y;
472472
}
473-
474-
Ax_current = Ax_new;
475-
ATy_current = ATy_new;
476473
}
474+
x_current_ = x;
475+
y_current_ = y;
476+
Ax_current = Ax_new;
477+
ATy_current = ATy_new;
477478
}
478479

479480
// --- 7. Handle Max Iterations Reached ---

0 commit comments

Comments
 (0)