* src/tgbatest/randtgba.cc: Close the formula file and remove a trace.
This commit is contained in:
parent
2653b35ba7
commit
addb3a30cd
2 changed files with 5 additions and 3 deletions
|
|
@ -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>
|
||||
|
||||
* 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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue