Changeset 1897


Ignore:
Timestamp:
Dec 3, 2012 8:34:28 AM (7 years ago)
Author:
stefan
Message:

keep Clp 1.14 working with Cbc 2.7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/1.14/Clp/src/CbcOrClpParam.cpp

    r1893 r1897  
    925925#endif
    926926#endif
     927#if defined(COIN_HAS_CBC) && ((CBC_VERSION_MAJOR > 2) || (CBC_VERSION_MINOR > 7))
    927928          case CBC_PARAM_INT_RANDOMSEED:
    928929               oldValue = model.getRandomSeed();
    929930               model.setRandomSeed(value);
    930931               break;
     932               
     933#endif
    931934          default:
    932935               break;
     
    980983#endif
    981984#endif
     985#if defined(COIN_HAS_CBC) && ((CBC_VERSION_MAJOR > 2) || (CBC_VERSION_MINOR > 7))
    982986     case CBC_PARAM_INT_RANDOMSEED:
    983987          value = model.getRandomSeed();
    984988          break;
     989#endif
    985990     default:
    986991          value = intValue_;
Note: See TracChangeset for help on using the changeset viewer.