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

powerset: simplify an implication check

* src/tgbaalgos/powerset.cc: Use bdd_implies.
parent 6f7f9ef8
......@@ -81,8 +81,8 @@ namespace spot
// Construct the set of all states reachable via COND.
power_state dest;
for (auto s: src)
for (auto si: aut->out(s))
if ((cond >> si.cond) == bddtrue)
for (auto& si: aut->out(s))
if (bdd_implies(cond, si.cond))
dest.insert(si.dst);
if (dest.empty())
continue;
......
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