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

This commit is contained in:
Denis Poitrenaud 2005-01-13 18:16:32 +00:00
parent 2653b35ba7
commit addb3a30cd
2 changed files with 5 additions and 3 deletions

View file

@ -1,3 +1,7 @@
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> 2005-01-13 Denis Poitrenaud <Denis.Poitrenaud@lip6.fr>
* src/tgbatest/randtgba.cc: Add products with formulae issued of a file * src/tgbatest/randtgba.cc: Add products with formulae issued of a file

View file

@ -877,8 +877,6 @@ main(int argc, char** argv)
{ {
if (formula_file->bad()) if (formula_file->bad())
std::cerr << "Failed to read " << opt_i << std::endl; std::cerr << "Failed to read " << opt_i << std::endl;
else
std::cerr << "End of " << opt_i << std::endl;
break; break;
} }
} }
@ -1280,7 +1278,7 @@ main(int argc, char** argv)
if (opt_i && strcmp(opt_i, "-")) if (opt_i && strcmp(opt_i, "-"))
{ {
//formula_file->close(); dynamic_cast<std::ifstream*>(formula_file)->close();
delete formula_file; delete formula_file;
} }
delete ap; delete ap;