fix a bug in aiger printer
* spot/twaalgos/aiger.cc: here * tests/core/ltlsynt.test: add a non-regression test
This commit is contained in:
parent
9489a65bc6
commit
1183a935c7
2 changed files with 29 additions and 1 deletions
|
|
@ -319,7 +319,7 @@ namespace spot
|
|||
int bddvar = aut->get_dict()->has_registered_proposition(ap, aut);
|
||||
assert(bddvar >= 0);
|
||||
bdd b = bdd_ithvar(bddvar);
|
||||
if (bdd_implies(b, all_outputs)) // ap is an output AP
|
||||
if (bdd_implies(all_outputs, b)) // ap is an output AP
|
||||
{
|
||||
bddvar_to_outputnum[bddvar] = output_names.size();
|
||||
output_names.emplace_back(ap.ap_name());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue