twa_run: better protection against empty cycles

Fixes #337.

* spot/twaalgos/emptiness.cc, spot/twaalgos/emptiness.hh: Here.
* tests/python/except.py: Test it.
* NEWS: Mention the issue.
This commit is contained in:
Alexandre Duret-Lutz 2018-03-16 17:12:26 +01:00
parent 76d4fe236c
commit a445778cd8
4 changed files with 39 additions and 1 deletions

3
NEWS
View file

@ -12,6 +12,9 @@ New in spot 2.5.1.dev (not yet released)
- "autfilt --acceptance-is=Fin-less" no longer accept automata
with "f" acceptance.
- twa_run methods will now diagnose cases where the cycle is
unexpectedly empty instead of segfaulting.
New in spot 2.5.1 (2018-02-20)
Library: