to_tgba: fix handling of CNF with multiple unit clauses

Fixes #313, reported by František Blahoudek.

* spot/twaalgos/totgba.cc (to_generalized_buchi): Fix it.
* tests/core/remfin.test: Test it.
* NEWS: Mention it.
This commit is contained in:
Alexandre Duret-Lutz 2017-12-22 17:53:30 +01:00
parent 19348c8938
commit 9ec7df670e
3 changed files with 99 additions and 2 deletions

6
NEWS
View file

@ -242,6 +242,12 @@ New in spot 2.4.3.dev (not yet released)
been removed. It's a low-level function was not used anywhere in
Spot anymore, since it's better to use spot::twa::copy_ap_of().
Bugs fixed:
- The generic to_generalized_buchi() function would fail if the
Fin-less & CNF version of the acceptance condition had several
unit clauses.
New in spot 2.4.3 (2017-12-19)
Bugs fixed: