sbacc: fix a typo and remove some useless code

* spot/twaalgos/sbacc.cc: Do not assign to one_in twice, and
fix the value of init_acc.
* tests/core/sbacc.test: Add a test case.
* NEWS: Mention the bug.
This commit is contained in:
Alexandre Duret-Lutz 2017-03-03 11:36:41 +01:00
parent 1eb5be543d
commit 37fc948be4
3 changed files with 40 additions and 5 deletions

4
NEWS
View file

@ -19,6 +19,10 @@ New in spot 2.3.1.dev (not yet released)
- genltl was never meant to have (randomly attributed) short
options for --postive and --negative.
- a typo in the code for transformating transition-based acceptance
to state-based acceptance could cause a superfluous initial state
to be output in some cases (the result was still correct).
Deprecation notices:
- Using --format=%a to print the number of atomic propositions in