* src/tgbaalgos/randomgraph.cc (random_graph): Do declare all the

acceptance conditions in the produced automaton, in case they are
not actually used.
This commit is contained in:
Alexandre Duret-Lutz 2004-11-15 13:29:04 +00:00
parent d6f865ac13
commit 78be35142d
2 changed files with 5 additions and 1 deletions

View file

@ -1,5 +1,9 @@
2004-11-15 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/tgbaalgos/randomgraph.cc (random_graph): Do declare all the
acceptance conditions in the produced automaton, in case they are
not actually used.
* src/tgbaalgos/replayrun.cc (replay_tgba_run): Write to the
supplied stream, not std::cout.

View file

@ -91,7 +91,7 @@ namespace spot
{
ltl::formula* f = env->require(acc(i));
int v = dict->register_acceptance_variable(f, res);
ltl::destroy(f);
res->declare_acceptance_condition(f);
allneg &= bdd_nithvar(v);
bdd b = bdd_ithvar(v);
accs.push_back(b);