diff -r 096d83158d41 -r 81b47fc5c444 test/lp_test.cc --- a/test/lp_test.cc Fri Mar 02 17:56:22 2007 +0000 +++ b/test/lp_test.cc Fri Mar 02 18:04:28 2007 +0000 @@ -261,9 +261,9 @@ check(lp.primalStatus()==stat, buf.str()); if (stat == LpSolverBase::OPTIMAL) { - std::ostringstream buf; - buf << "Wrong optimal value: the right optimum is " << exp_opt; - check(std::abs(lp.primalValue()-exp_opt) < 1e-3, buf.str()); + std::ostringstream sbuf; + sbuf << "Wrong optimal value: the right optimum is " << exp_opt; + check(std::abs(lp.primalValue()-exp_opt) < 1e-3, sbuf.str()); //+ecvt(exp_opt,2) } }