sat: add missing prop_state_based_acc() call

Fixes #62.

* src/tgbaalgos/dtbasat.cc, src/tgbaalgos/dtgbasat.cc: Add call to
prop_state_based_acc() when building an automaton with state-based
acceptance.
* src/tgbatest/satmin2.test: New test.
* doc/org/satmin.org: Update.
This commit is contained in:
Alexandre Duret-Lutz 2015-03-17 18:29:28 +01:00
parent 6712fa3c65
commit 72eed9b2e2
4 changed files with 17 additions and 8 deletions

View file

@ -639,6 +639,8 @@ namespace spot
auto a = make_tgba_digraph(autdict);
a->copy_ap_of(aut);
acc_cond::mark_t acc = a->set_single_acceptance_set();
if (state_based)
a->prop_state_based_acc();
a->new_states(satdict.cand_size);
unsigned last_aut_trans = -1U;