twa: fix intersecting_run on weak automata

Fixes #471, reported by Cambridge Yang.

* spot/twa/twa.cc (intersecting_run): Disable the product
optimization for weak automata.
* tests/python/471.py: New file.
* tests/Makefile.am: Add it.
* NEWS: Mention the bug.
This commit is contained in:
Alexandre Duret-Lutz 2021-07-07 18:00:41 +02:00
parent 09e4ab74a1
commit 0509263f82
4 changed files with 42 additions and 2 deletions

4
NEWS
View file

@ -242,6 +242,10 @@ New in spot 2.9.7.dev (not yet released)
- tgba_determinize() could create parity automata using more colors
than necessary. (Related to issue #298)
- left->intersacting_run(right) could return a run with incorrect
colors (likely not corresponding to any existing transition of
left) if left was a weak automaton.
Deprecation notices:
- twa_graph::defrag_states() and digraph::defrag_states() now take