Commit 4740adeb authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz

genem: fix previous patch

* spot/twaalgos/ Do not use a temporary scc_and_mark_filter.
parent 0623965b
......@@ -108,8 +108,11 @@ namespace spot
return true;
scc_info si(scc_and_mark_filter(aut, aut_acc.fin_unit()),
// Filter with fin_unit() right away if possible.
// scc_and_mark_filter will have no effect if fin_unit() is
// empty.
scc_and_mark_filter filt(aut, aut_acc.fin_unit());
scc_info si(filt, scc_info_options::STOP_ON_ACC);
const int accepting_scc = si.one_accepting_scc();
if (accepting_scc >= 0)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment