product_susp: fix product of state-based automata

Reported by Simon Jantsch.

* spot/twaalgos/product.cc: Here.
* tests/core/unambig2.test: New file, testing this plus
the previous patch.
* tests/Makefile.am: Add unambig2.test.
* NEWS: Mention the bug.
This commit is contained in:
Alexandre Duret-Lutz 2019-02-02 14:41:22 +01:00
parent d4203c8ad0
commit 699f21b9af
4 changed files with 149 additions and 17 deletions

6
NEWS
View file

@ -28,6 +28,12 @@ New in spot 2.7.0.dev (not yet release)
- The core translation for unambiguous automata was incorrectly
tagging some non-weak automata as weak.
- The product_susp() function used to multiply an automaton with a
suspendable automaton could incorrectly build transition-based
automata when multipliying two state-based automata. This caused
ltl2tgba to emit error messages such as: "automaton has
transition-based acceptance despite prop_state_acc()==true"
New in spot 2.7 (2018-12-11)
Command-line tools: