remove_fin: never return acceptance "f"

Fixes #333.

* spot/twaalgos/remfin.cc, spot/twaalgos/remfin.hh,
spot/twaalgos/totgba.cc: Adjust.  The assert() added
to remove_fin() triggered a lot of failure in the test
suite before the different functions were fixed.
* tests/core/remfin.test, tests/python/tra2tba.py:
Adjust expected result.
* NEWS: Mention the bug.
This commit is contained in:
Alexandre Duret-Lutz 2018-03-16 13:52:39 +01:00
parent 8d8fa4139d
commit 41722c0c5f
6 changed files with 64 additions and 14 deletions

3
NEWS
View file

@ -6,6 +6,9 @@ New in spot 2.5.1.dev (not yet released)
acc_cond::is_generalized_streett() would segfault on weird
acceptance conditions such as "3 t" or "3 f".
- remove_fin(), streett_to_generalized_buchi() should never
return automata with "f" acceptance.
New in spot 2.5.1 (2018-02-20)
Library: