Fix slight error in aiger
The negation of global equivalences for outputs contained a slight error when the output corresponded to a negated gate. * spot/twaalgos/aiger.cc: Fix * tests/core/ltlsynt.test: Test
This commit is contained in:
parent
461dc842e9
commit
ddbe0e32b0
2 changed files with 17 additions and 1 deletions
|
|
@ -2061,7 +2061,10 @@ namespace
|
|||
assert(it2 != output_names_all.end());
|
||||
unsigned outnum = it2 - output_names_all.begin();
|
||||
unsigned outvar = circuit.output(outnum);
|
||||
circuit.set_output(i, outvar + neg_repr);
|
||||
assert(outvar != -1u);
|
||||
if (neg_repr)
|
||||
outvar = circuit.aig_not(outvar);
|
||||
circuit.set_output(i, outvar);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue