twa: do not set prop_state_acc in set_acceptance

Reported by Juraj Major.

* spot/twa/twa.hh: check num_sets() in prop_state_acc() so we do not
have to set it in set_acceptance(), causing trouble if set_acceptance()
is called multiple times.
* tests/python/setacc.py: New test case.
* tests/Makefile.am: Add it.
* THANKS: Add Juraj.
* NEWS: Mention the bug.
This commit is contained in:
Alexandre Duret-Lutz 2016-11-11 14:05:58 +01:00
parent a70589fe13
commit dd706d7847
5 changed files with 34 additions and 7 deletions

1
THANKS
View file

@ -18,6 +18,7 @@ Jan Strejček
Jean-Michel Couvreur
Jean-Michel Ilié
Joachim Klein
Juraj Major
Kristin Y. Rozier
Martin Dieguez Lodeiro
Matthias Heizmann