remfin: fix handling of weak automata

* spot/twaalgos/remfin.cc: Do not add a sink states to deterministic
weak automata, and actually apply the "weak" Fin-removal to any weak
automaton.
* tests/core/explprod.test: Add a test case for the previous patch,
but that used to fail because of this bug.
* NEWS: Mention the bug.
This commit is contained in:
Alexandre Duret-Lutz 2016-11-11 12:30:13 +01:00
parent 49266dee7f
commit a70589fe13
3 changed files with 14 additions and 28 deletions

3
NEWS
View file

@ -63,6 +63,9 @@ New in spot 2.1.2.dev (not yet released)
already opened file descriptor, it will not close the file
anymore.
* remove_fin() could produce incorrect result on incomplete
automata tagged as weak and deterministic.
New in spot 2.1.2 (2016-10-14)
Command-line tools: