COIN-OR::LEMON - Graph Library

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


Ignore:
Timestamp:
03/02/07 19:04:28 (14 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/lp_test.cc

    r2369 r2386  
    262262
    263263  if (stat ==  LpSolverBase::OPTIMAL) {
    264     std::ostringstream buf;
    265     buf << "Wrong optimal value: the right optimum is " << exp_opt;
    266     check(std::abs(lp.primalValue()-exp_opt) < 1e-3, buf.str());
     264    std::ostringstream sbuf;
     265    sbuf << "Wrong optimal value: the right optimum is " << exp_opt;
     266    check(std::abs(lp.primalValue()-exp_opt) < 1e-3, sbuf.str());
    267267    //+ecvt(exp_opt,2)
    268268  }
Note: See TracChangeset for help on using the changeset viewer.