tgbaexplicit: fix state_is_accepting()

* src/tgba/tgbaexplicit.hh (state_is_accepting): Use
all_acceptance_conditions(), not all_acceptance_conditions_, so that
it works even when all_acceptance_conditions_ is not ready.
* src/tgbatest/explicit2.cc, src/tgbatest/explicit2.test: Adjust
test case.
This commit is contained in:
Alexandre Duret-Lutz 2012-10-20 23:58:30 +02:00
parent 76787b23c0
commit fa4e6effa6
3 changed files with 20 additions and 20 deletions

View file

@ -30,8 +30,8 @@ tata
69
* TGBA explicit formula
b
* SBA explicit string, no accepting state
S1 ACCEPTING? 0
* SBA explicit string, 1 accepting state
S1 ACCEPTING? 1
S2 ACCEPTING? 0
S3 ACCEPTING? 0
* SBA explicit number, 1 accepting state