Changeset 2485


Ignore:
Timestamp:
Feb 9, 2019 3:03:28 PM (7 days ago)
Author:
unxusr
Message:

make sure to initialize some vars

Location:
trunk/Cbc/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/src/CbcModel.cpp

    r2477 r2485  
    58175817  , master_(NULL)
    58185818  , masterThread_(NULL)
     5819  , keepNamesPreproc(false)
    58195820{
    58205821  memset(intParam_, 0, sizeof(intParam_));
     
    61036104  , master_(NULL)
    61046105  , masterThread_(NULL)
     6106  , keepNamesPreproc(rhs.keepNamesPreproc)
    61056107{
    61066108  memcpy(intParam_, rhs.intParam_, sizeof(intParam_));
  • trunk/Cbc/src/CbcSolver.cpp

    r2484 r2485  
    416416  , readMode_(rhs.readMode_)
    417417{
     418  fillParameters();
    418419  if (rhs.babModel_)
    419420    babModel_ = new CbcModel(*rhs.babModel_);
  • trunk/Cbc/src/Cbc_C_Interface.cpp

    r2479 r2485  
    425425  model->model_ = new CbcModel(solver1);
    426426  model->solver_ = dynamic_cast< OsiClpSolverInterface * >(model->model_->solver());
     427  model->cbcData = new CbcSolverUsefulData();
    427428  CbcMain0(*model->model_, *model->cbcData);
    428429  model->handler_ = NULL;
Note: See TracChangeset for help on using the changeset viewer.