Commit bff5f4ee authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

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

Really Skip unknown variables.
parent 1a946458
2003-11-03 Alexandre Duret-Lutz <adl@src.lip6.fr>
* iface/gspn/eesrg.cc (tgba_succ_iterator_gspn_eesrg::step):
Really Skip unknown variables.
* configure.ac, NEWS: Bump version to 0.0j.
* iface/gspn/eesrg.cc (tgba_succ_iterator_gspn_eesrg::step):
......
......@@ -208,26 +208,28 @@ namespace spot
while (cond != bddtrue)
{
int var = bdd_var(cond);
tgba_gspn_eesrg_private_::prop_map::iterator i =
data_->prop_dict.find(var);
// 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);
int res;
if (high == bddfalse)
{
cond = bdd_low(cond);
props[i->second] = 0;
res = 0;
}
else
{
cond = high;
props[i->second] = 1;
res = 1;
}
// It's OK if VAR is unknown from GreatSPN (it might have
// been used to synchornize other automaton or something),
// just skip it.
tgba_gspn_eesrg_private_::prop_map::iterator i =
data_->prop_dict.find(var);
if (i != data_->prop_dict.end())
props[i->second] = res;
assert(cond != bddfalse);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment