Skip to content

Commit 7fe1727

Browse files
committed
initialize below_lower for compiler
- avoids a maybe uninitialized warning
1 parent 2c007ea commit 7fe1727

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

highs/lp_data/HighsIis.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ bool HighsIis::rowValueBounds(const HighsLp& lp, const HighsOptions& options) {
193193
upper_value.push_back(upper_row_value);
194194
}
195195
}
196-
bool below_lower;
196+
bool below_lower = false;
197197
bool above_upper;
198198
for (HighsInt iRow = 0; iRow < lp.num_row_; iRow++) {
199199
below_lower = upper_value[iRow] <

0 commit comments

Comments
 (0)