* iface/gspn/eesrg.cc (tgba_succ_iterator_gspn_eesrg::step):

Skip unknown variables.
This commit is contained in:
Alexandre Duret-Lutz 2003-11-03 11:02:20 +00:00
parent e394b8e9f6
commit b751f00d37
2 changed files with 9 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2003-11-03 Alexandre Duret-Lutz <adl@src.lip6.fr>
* iface/gspn/eesrg.cc (tgba_succ_iterator_gspn_eesrg::step):
Skip unknown variables.
* iface/gspn/gspn.cc
(tgba_gspn_eesrg_private_::tgba_gspn_eesrg_private_): Show prop_index()
and prop_kind() arguments on error.

View file

@ -210,7 +210,12 @@ namespace spot
int var = bdd_var(cond);
tgba_gspn_eesrg_private_::prop_map::iterator i =
data_->prop_dict.find(var);
assert(i != data_->prop_dict.end());
// It's OK if VAR is unknown from GreatSPN (it might have
// been used to synchornize other automaton or something),
// just skip it.
if (i != data_->prop_dict.end())
continue;
bdd high = bdd_high(cond);
if (high == bddfalse)