ports/math/cbc/files/patch-Cbc_src_CbcModel.cpp
2019-12-21 22:58:54 +00:00

11 lines
454 B
C++

--- Cbc/src/CbcModel.cpp.orig 2019-12-21 21:30:53 UTC
+++ Cbc/src/CbcModel.cpp
@@ -5417,7 +5417,7 @@ void CbcModel::branchAndBound(int doStatistics)
OsiClpSolverInterface *clpSolver
= dynamic_cast< OsiClpSolverInterface * >(solver_);
if (clpSolver)
- clpSolver->setFakeObjective(reinterpret_cast< double * >(NULL));
+ clpSolver->setFakeObjective((double*)nullptr);
}
#endif
moreSpecialOptions_ = saveMoreSpecialOptions;