remove_fin: fix bug in remove_fin_det_weak

* wrap/python/tests/remfin.py: New file.
* wrap/python/tests/Makefile.am: Add it.
* src/twaalgos/remfin.cc (remove_fin_det_weak): Purge dead states.
This commit is contained in:
Alexandre Duret-Lutz 2015-10-17 17:38:45 +02:00
parent 9be0cd7f69
commit 1d30242d17
3 changed files with 39 additions and 0 deletions

View file

@ -462,6 +462,7 @@ namespace spot
true, // determinisitic
true, // stutter inv.
});
res->purge_dead_states();
scc_info si(res);
// We will modify res in place, and the resulting