mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 11:55:51 +00:00
This commit is contained in:
parent
10145366b2
commit
2fa156eaf4
2 changed files with 5 additions and 1 deletions
|
@ -93,7 +93,10 @@ namespace fpa {
|
|||
SASSERT(m.is_bool(e));
|
||||
if (!visit_rec(m, e, sign, root, redundant))
|
||||
return sat::null_literal;
|
||||
return expr2literal(e);
|
||||
sat::literal lit = expr2literal(e);
|
||||
if (sign)
|
||||
lit.neg();
|
||||
return lit;
|
||||
}
|
||||
|
||||
void solver::internalize(expr* e, bool redundant) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue