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 c34192a77c
commit d8a75518e4
4 changed files with 43 additions and 3 deletions

6
NEWS
View file

@ -1,6 +1,10 @@
New in spot 2.9.7.dev (not yet released)
Nothing yet.
Bugs fixed:
- 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.
New in spot 2.9.7 (2021-05-12)