Changeset 1645 for trunk


Ignore:
Timestamp:
May 2, 2011 6:02:30 AM (8 years ago)
Author:
stefan
Message:

setprecision seem to take an int with gcc4.5

File:
1 edited

Legend:

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

    r1644 r1645  
    125125    return (-1) ;
    126126  }
    127   std::streamsize dfltPrecision = std::cout.precision() ;
     127  int dfltPrecision = static_cast<int>(std::cout.precision()) ;
    128128/*
    129129  Set the range of problems to be tested. testSwitch = -2 is special and is
Note: See TracChangeset for help on using the changeset viewer.