Changeset 156


Ignore:
Timestamp:
Aug 4, 2005 4:03:22 AM (14 years ago)
Author:
forrest
Message:

dynamic cast

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc_C_Interface.cpp

    r2 r156  
    22012201  Cbc_Model * result = new Cbc_Model;
    22022202  result->model_     = new CbcModel(*(model->model_));
    2203   result->solver_    = (OsiClpSolverInterface *) result->model_->solver();
     2203  result->solver_    =  dynamic_cast< OsiClpSolverInterface*> (result->model_->solver());
    22042204  result->handler_   = NULL;
    22052205
Note: See TracChangeset for help on using the changeset viewer.