test/mip_test.cc
changeset 2386 81b47fc5c444
parent 2369 6ae1a97055a2
child 2391 14a343be7a5a
     1.1 --- a/test/mip_test.cc	Fri Mar 02 17:56:22 2007 +0000
     1.2 +++ b/test/mip_test.cc	Fri Mar 02 18:04:28 2007 +0000
     1.3 @@ -30,9 +30,9 @@
     1.4    check(lp.mipStatus()==stat, buf.str());
     1.5  
     1.6    if (stat ==  MipSolverBase::OPTIMAL) {
     1.7 -    std::ostringstream buf;
     1.8 +    std::ostringstream sbuf;
     1.9      buf << "Wrong optimal value: the right optimum is " << exp_opt; 
    1.10 -    check(std::abs(lp.primalValue()-exp_opt) < 1e-3, buf.str());
    1.11 +    check(std::abs(lp.primalValue()-exp_opt) < 1e-3, sbuf.str());
    1.12      //+ecvt(exp_opt,2)
    1.13    }
    1.14  }