Skip to content

Commit 0228337

Browse files
committed
Really should check that code compiles before pushing!
1 parent dbe3960 commit 0228337

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

highs/presolve/HPresolve.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6898,8 +6898,8 @@ bool HPresolve::zeroRowActivityFeasible() const {
68986898
// has no columns to assess whether the HighsModelStatus returned is
68996899
// kOptimal or kInfeasible (as was required for 2326)
69006900
for (HighsInt iRow = 0; iRow < model->num_row_; iRow++)
6901-
if (model->row_lower_[row] > primal_feastol ||
6902-
model->row_upper_[row] < -primal_feastol)
6901+
if (model->row_lower_[iRow] > primal_feastol ||
6902+
model->row_upper_[iRow] < -primal_feastol)
69036903
return false;
69046904
return true;
69056905
}

0 commit comments

Comments
 (0)