* src/tgbaalgos/emptinesscheck.cc (emptiness_check::complete_cycle):

Do not visit a state more than once.  Report from Soheib Baarir.
This commit is contained in:
Alexandre Duret-Lutz 2004-04-05 12:43:06 +00:00
parent fa6ac39cfb
commit 7fd9459a63
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2004-04-05 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/tgbaalgos/emptinesscheck.cc (emptiness_check::complete_cycle):
Do not visit a state more than once. Report from Soheib Baarir.
2004-03-25 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/tgbaalgos/ltl2tgba_fm.cc (translate_dict): Reuse Acc and Var

View file

@ -616,8 +616,8 @@ namespace spot
{
const state* dest = i->current_state();
// Do not escape this SCC.
if (!scc.has_state(dest))
// Do not escape this SCC or visit a state already visited.
if (!scc.has_state(dest) || father.find(dest) != father.end())
{
delete dest;
continue;