Skip to content

Commit

Permalink
Fix tautological-constant-out-of-range-compare warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
a-andre authored and svigerske committed Jul 30, 2024
1 parent e8c5e9f commit 2092b75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CbcSolver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5155,7 +5155,7 @@ int CbcMain1(std::deque<std::string> inputQueue, CbcModel &model,
// we have to keep solver2 so pass clone
solver2 = solver2->clone();
// see if extra variables wanted
bool threshold = parameters[CbcParam::EXTRAVARIABLES]->intVal();
int threshold = parameters[CbcParam::EXTRAVARIABLES]->intVal();
int more2 = parameters[CbcParam::MOREMOREMIPOPTIONS]->intVal();
if (threshold || (more2 & (512 | 1024)) != 0) {
int numberColumns = solver2->getNumCols();
Expand Down

0 comments on commit 2092b75

Please sign in to comment.