remove_fin: fix incorrect state-based output

* spot/twaalgos/remfin.cc: If no Inf set is used, set sbacc early so
that it is used in the algorithm.
* tests/core/remfin.test: Add more tests.
* NEWS: Mention the bug.
This commit is contained in:
Alexandre Duret-Lutz 2017-08-09 17:43:01 +02:00
parent 30a68d288b
commit df04c715cf
3 changed files with 204 additions and 5 deletions

7
NEWS
View file

@ -194,6 +194,13 @@ New in spot 2.3.5.dev (not yet released)
- The 'spot.gen' package exports the functions from libspotgen.
See https://spot.lrde.epita.fr/ipynb/gen.html for examples.
Bugs fixed:
- When the remove_fin() function was called on some automaton with
Inf-less acceptance involving at least one disjunction (e.g.,
generalized co-Büchi), it would sometime output an automaton with
transition-based acceptance but marked as state-based.
Backward-incompatible changes:
- spot::acc_cond::mark_t::operator bool() has been marked as