* 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:
parent
fa6ac39cfb
commit
7fd9459a63
2 changed files with 7 additions and 2 deletions
|
|
@ -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>
|
2004-03-25 Alexandre Duret-Lutz <adl@src.lip6.fr>
|
||||||
|
|
||||||
* src/tgbaalgos/ltl2tgba_fm.cc (translate_dict): Reuse Acc and Var
|
* src/tgbaalgos/ltl2tgba_fm.cc (translate_dict): Reuse Acc and Var
|
||||||
|
|
|
||||||
|
|
@ -616,8 +616,8 @@ namespace spot
|
||||||
{
|
{
|
||||||
const state* dest = i->current_state();
|
const state* dest = i->current_state();
|
||||||
|
|
||||||
// Do not escape this SCC.
|
// Do not escape this SCC or visit a state already visited.
|
||||||
if (!scc.has_state(dest))
|
if (!scc.has_state(dest) || father.find(dest) != father.end())
|
||||||
{
|
{
|
||||||
delete dest;
|
delete dest;
|
||||||
continue;
|
continue;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue