@@ -3150,7 +3150,8 @@ HPresolve::Result HPresolve::singletonCol(HighsPostsolveStack& postsolve_stack,
31503150 if (colDeleted[col]) return Result::kOk ;
31513151
31523152 if (mipsolver != nullptr )
3153- HPRESOLVE_CHECKED_CALL (convertImpliedInteger (col, row).result ());
3153+ HPRESOLVE_CHECKED_CALL (
3154+ static_cast <Result>(convertImpliedInteger (col, row)));
31543155
31553156 updateColImpliedBounds (row, col, colCoef);
31563157
@@ -3163,7 +3164,7 @@ HPresolve::Result HPresolve::singletonCol(HighsPostsolveStack& postsolve_stack,
31633164 analysis_.allow_rule_ [kPresolveRuleFreeColSubstitution ]) {
31643165 if (model->integrality_ [col] == HighsVarType::kInteger ) {
31653166 StatusResult impliedIntegral = isImpliedIntegral (col);
3166- HPRESOLVE_CHECKED_CALL (impliedIntegral. result ( ));
3167+ HPRESOLVE_CHECKED_CALL (static_cast <Result>(impliedIntegral ));
31673168 if (!impliedIntegral) return Result::kOk ;
31683169 }
31693170 const bool logging_on = analysis_.logging_on_ ;
@@ -3456,8 +3457,8 @@ HPresolve::Result HPresolve::rowPresolve(HighsPostsolveStack& postsolve_stack,
34563457 // scale);
34573458 transformColumn (postsolve_stack, continuousCol, scale, 0.0 );
34583459
3459- HPRESOLVE_CHECKED_CALL (
3460- convertImpliedInteger (continuousCol, -1 , true ). result ( ));
3460+ HPRESOLVE_CHECKED_CALL (static_cast <Result>(
3461+ convertImpliedInteger (continuousCol, -1 , true )));
34613462
34623463 if (intScale != 1.0 ) scaleStoredRow (row, intScale, true );
34633464 }
@@ -4088,7 +4089,7 @@ HPresolve::Result HPresolve::colPresolve(HighsPostsolveStack& postsolve_stack,
40884089 }
40894090 }
40904091
4091- HPRESOLVE_CHECKED_CALL (convertImpliedInteger (col). result ( ));
4092+ HPRESOLVE_CHECKED_CALL (static_cast <Result>( convertImpliedInteger (col)));
40924093
40934094 // shift integral variables to have a lower bound of zero
40944095 if (model->integrality_ [col] != HighsVarType::kContinuous &&
@@ -5067,7 +5068,7 @@ HPresolve::Result HPresolve::aggregator(HighsPostsolveStack& postsolve_stack) {
50675068 }
50685069 if (model->integrality_ [col] == HighsVarType::kInteger ) {
50695070 StatusResult impliedIntegral = isImpliedIntegral (col);
5070- HPRESOLVE_CHECKED_CALL (impliedIntegral. result ( ));
5071+ HPRESOLVE_CHECKED_CALL (static_cast <Result>(impliedIntegral ));
50715072 if (!impliedIntegral) continue ;
50725073 }
50735074
@@ -5651,7 +5652,7 @@ HPresolve::Result HPresolve::strengthenInequalities(
56515652
56525653HPresolve::Result HPresolve::detectImpliedIntegers () {
56535654 for (HighsInt col = 0 ; col != model->num_col_ ; ++col)
5654- HPRESOLVE_CHECKED_CALL (convertImpliedInteger (col). result ( ));
5655+ HPRESOLVE_CHECKED_CALL (static_cast <Result>( convertImpliedInteger (col)));
56555656 return Result::kOk ;
56565657}
56575658
@@ -6133,7 +6134,7 @@ HPresolve::Result HPresolve::detectParallelRowsAndCols(
61336134 if (rowsizeIntReduction && model->integrality_ [duplicateCol] ==
61346135 HighsVarType::kImplicitInteger ) {
61356136 StatusResult impliedInteger = isImpliedInteger (col);
6136- HPRESOLVE_CHECKED_CALL (impliedInteger. result ( ));
6137+ HPRESOLVE_CHECKED_CALL (static_cast <Result>(impliedInteger ));
61376138 if (impliedInteger) convertImpliedInteger (col, -1 , true );
61386139 }
61396140 break ;
0 commit comments