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

remfin: ignore unreachable states in remove_fin_weak()

* spot/twaalgos/ (remove_fin_weak): Ignore unreachable
states.  This caused crashes in the test cases for the
upcoming alternation support in ltlcross.
parent 326431fd
......@@ -472,6 +472,8 @@ namespace spot
for (unsigned src = 0; src < n; ++src)
if (!si.reachable_state(src))
acc_cond::mark_t acc = 0U;
unsigned scc = si.scc_of(src);
if (si.is_accepting_scc(scc) && !si.is_trivial(scc))
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