remfin: ignore unreachable states in remove_fin_weak()
* spot/twaalgos/remfin.cc (remove_fin_weak): Ignore unreachable states. This caused crashes in the test cases for the upcoming alternation support in ltlcross.
This commit is contained in:
parent
326431fd28
commit
64fa6c0026
1 changed files with 2 additions and 0 deletions
|
|
@ -472,6 +472,8 @@ namespace spot
|
|||
|
||||
for (unsigned src = 0; src < n; ++src)
|
||||
{
|
||||
if (!si.reachable_state(src))
|
||||
continue;
|
||||
acc_cond::mark_t acc = 0U;
|
||||
unsigned scc = si.scc_of(src);
|
||||
if (si.is_accepting_scc(scc) && !si.is_trivial(scc))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue