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

Do not skip this computation if from == to but the period is empty.
This commit is contained in:
Alexandre Duret-Lutz 2004-01-06 11:52:16 +00:00
parent 3c363aa11a
commit 24fec22e52
2 changed files with 8 additions and 2 deletions

View file

@ -1,5 +1,8 @@
2004-01-06 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/tgbaalgos/emptinesscheck.cc (emptiness_check::complete_cycle):
Do not skip this computation if from == to but the period is empty.
* iface/gspn/eesrg.cc (state_gspn_eesrg::clone): Clone the right
state.

View file

@ -1,4 +1,4 @@
// Copyright (C) 2003 Laboratoire d'Informatique de Paris 6 (LIP6),
// Copyright (C) 2003, 2004 Laboratoire d'Informatique de Paris 6 (LIP6),
// département Systèmes Répartis Coopératifs (SRC), Université Pierre
// et Marie Curie.
//
@ -423,7 +423,10 @@ namespace spot
const state* from,
const state* to)
{
if (from == to)
// If by change or period already ends on the state we have
// to reach back, we are done.
if (from == to
&& ! period.empty())
return;
// Records backlinks to parent state during the BFS.