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

* src/tgbaalgos/degen.cc: Use the new bdd_implies() function.

parent b7c77dca
......@@ -284,10 +284,10 @@ namespace spot
{
unsigned prev = order.size() - 1;
bdd common = outgoing.common_acc(s.first);
if ((common & order[prev]) == order[prev])
if (bdd_implies(order[prev], common))
{
bdd u = outgoing.union_acc(d.first);
if ((u & order[prev]) != order[prev])
if (!bdd_implies(order[prev], u))
acc -= order[prev];
}
}
......@@ -314,8 +314,7 @@ namespace spot
// acceptance sets common to the outgoing transitions of
// the destination state.
acc |= otheracc;
while (next < order.size()
&& (acc & order[next]) == order[next])
while (next < order.size() && bdd_implies(order[next], acc))
++next;
d.second = next;
......
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