Ignore:
Timestamp:
May 31, 2008 1:34:24 PM (11 years ago)
Author:
lou
Message:

Bare INT_MAX fails under GCC 4.3. Change to COIN_INT_MAX.

File:
1 edited

Legend:

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

    r691 r958  
    1414#include <cassert>
    1515
     16#include "CoinFinite.hpp"
    1617#include "CoinParam.hpp"
    1718
     
    7172  param = new CbcOsiParam(CbcOsiParam::MAXITERATION,
    7273        "maxIt!erations","Iteration limit for OSI solver.",
    73                   0,INT_MAX,ival) ;
     74                  0,COIN_INT_MAX,ival) ;
    7475  param->setPushFunc(pushCbcOsiInt) ;
    7576  param->setObj(osi) ;
     
    8384  param = new CbcOsiParam(CbcOsiParam::MAXHOTITS,
    8485        "hot!StartMaxIts","Iteration limit for OSI solver hot start.",
    85                   0,INT_MAX,ival) ;
     86                  0,COIN_INT_MAX,ival) ;
    8687  param->setPushFunc(pushCbcOsiInt) ;
    8788  param->setObj(osi) ;
Note: See TracChangeset for help on using the changeset viewer.