to_dca/to_nca: fix handling of co-Büchi input

* spot/twaalgos/cobuchi.cc (to_dca, to_nca): Do not process
the input if it is already co-Büchi.
* tests/core/dca.test: Test this.
* NEWS: Mention the bug.
This commit is contained in:
Alexandre Duret-Lutz 2018-03-28 10:26:10 +02:00
parent a9bf4dfa58
commit 5e2a8a581a
3 changed files with 35 additions and 3 deletions

5
NEWS
View file

@ -1,6 +1,9 @@
New in spot 2.5.2.dev (not yet released)
Nothing yet.
Bugs fixed:
- "autfilt --cobuchi --small/--det" would turn a transition-based
co-Büchi automaton into a state-based co-Büchi.
New in spot 2.5.2 (2018-03-25)