Skip to content

Commit 1b36d46

Browse files
committed
Fix warnign
1 parent c4012f5 commit 1b36d46

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

highs/lp_data/HighsIis.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -864,15 +864,15 @@ bool HighsIis::indexStatusOk(const HighsLp& lp) const {
864864
const HighsInt illegal_status = -99;
865865
for (HighsInt iX = 0; iX < num_iis_col; iX++) {
866866
HighsInt iCol = this->col_index_[iX];
867-
if (col_status_[iCol] != true_iis ? kIisStatusInConflict
868-
: kIisStatusMaybeInConflict)
867+
if (col_status_[iCol] !=
868+
(true_iis ? kIisStatusInConflict : kIisStatusMaybeInConflict))
869869
return indexStatusOkReturn(false);
870870
col_status[iCol] = illegal_status;
871871
}
872872
for (HighsInt iX = 0; iX < num_iis_row; iX++) {
873873
HighsInt iRow = this->row_index_[iX];
874-
if (row_status_[iRow] != true_iis ? kIisStatusInConflict
875-
: kIisStatusMaybeInConflict)
874+
if (row_status_[iRow] !=
875+
(true_iis ? kIisStatusInConflict : kIisStatusMaybeInConflict))
876876
return indexStatusOkReturn(false);
877877
row_status[iRow] = illegal_status;
878878
}

0 commit comments

Comments
 (0)