mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 12:08:18 +00:00
This commit is contained in:
parent
ca8f914dd8
commit
005d35f9c9
|
@ -1257,7 +1257,6 @@ namespace opt {
|
||||||
}
|
}
|
||||||
def result;
|
def result;
|
||||||
if (compute_def) {
|
if (compute_def) {
|
||||||
TRACE("opt1", tout << m_rows[row_id1] << "\n";);
|
|
||||||
result = def(m_rows[row_id1], x);
|
result = def(m_rows[row_id1], x);
|
||||||
m_var2value[x] = eval(result);
|
m_var2value[x] = eval(result);
|
||||||
TRACE("opt1", tout << "updated eval " << x << " := " << eval(x) << "\n";);
|
TRACE("opt1", tout << "updated eval " << x << " := " << eval(x) << "\n";);
|
||||||
|
|
|
@ -51,7 +51,7 @@ namespace q {
|
||||||
for (expr* e : exp) {
|
for (expr* e : exp) {
|
||||||
sat::literal lit = ctx.internalize(e, l.sign(), false, false);
|
sat::literal lit = ctx.internalize(e, l.sign(), false, false);
|
||||||
add_clause(~l, lit);
|
add_clause(~l, lit);
|
||||||
ctx.add_aux(~l, lit);
|
ctx.add_root(~l, lit);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in a new issue