determinize: do not copy the "incomplete" property

Mentioned in issue #298.

* spot/twaalgos/determinize.cc: Do not copy prop_complete of
the input if it is false.
* tests/python/298.py: Test it.
* NEWS: Mention the bug.
This commit is contained in:
Alexandre Duret-Lutz 2020-12-14 22:55:37 +01:00
parent f6be083050
commit 7e2f091839
3 changed files with 15 additions and 1 deletions

4
NEWS
View file

@ -173,6 +173,10 @@ New in spot 2.9.5.dev (not yet released)
- tgba_determinize() could create parity automata using more colors
than necessary.
- When passed an incomplete automaton as input, tgba_determinize()
would sometimes produce a complete automaton but incorrectly mark
it as incomplete.
New in spot 2.9.5 (2020-11-19)
Bugs fixed: