COIN-OR::LEMON - Graph Library

Changeset 2386:81b47fc5c444 in lemon-0.x for test/mip_test.cc


Ignore:
Timestamp:
03/02/07 19:04:28 (17 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3217
Message:

Hard Warning checking

  • based on the remark of the ZIB user
  • we do not use -Winline
File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/mip_test.cc

    r2369 r2386  
    3131
    3232  if (stat ==  MipSolverBase::OPTIMAL) {
    33     std::ostringstream buf;
     33    std::ostringstream sbuf;
    3434    buf << "Wrong optimal value: the right optimum is " << exp_opt;
    35     check(std::abs(lp.primalValue()-exp_opt) < 1e-3, buf.str());
     35    check(std::abs(lp.primalValue()-exp_opt) < 1e-3, sbuf.str());
    3636    //+ecvt(exp_opt,2)
    3737  }
Note: See TracChangeset for help on using the changeset viewer.