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

powerset: simplify an implication check

* src/tgbaalgos/ 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))
if (dest.empty())
Supports Markdown
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