diff --git a/src/CbcSolver.cpp b/src/CbcSolver.cpp index bdb23d862..30be976f1 100644 --- a/src/CbcSolver.cpp +++ b/src/CbcSolver.cpp @@ -5155,7 +5155,7 @@ int CbcMain1(std::deque 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();