Commit addb3a30 authored by Denis Poitrenaud's avatar Denis Poitrenaud
Browse files

* src/tgbatest/randtgba.cc: Close the formula file and remove a trace.

parent 2653b35b
2005-01-13 Denis Poitrenaud <Denis.Poitrenaud@lip6.fr>
* src/tgbatest/randtgba.cc: Close the formula file and remove a trace.
2005-01-13 Denis Poitrenaud <Denis.Poitrenaud@lip6.fr>
* src/tgbatest/randtgba.cc: Add products with formulae issued of a file
......
......@@ -877,8 +877,6 @@ main(int argc, char** argv)
{
if (formula_file->bad())
std::cerr << "Failed to read " << opt_i << std::endl;
else
std::cerr << "End of " << opt_i << std::endl;
break;
}
}
......@@ -1280,7 +1278,7 @@ main(int argc, char** argv)
if (opt_i && strcmp(opt_i, "-"))
{
//formula_file->close();
dynamic_cast<std::ifstream*>(formula_file)->close();
delete formula_file;
}
delete ap;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment