mirror of
https://github.com/Z3Prover/z3
synced 2025-04-15 21:38:44 +00:00
add a constant to the context trail
Signed-off-by: Lev <levnach@hotmail.com>
This commit is contained in:
parent
fde1cd23d5
commit
025e4b90ca
|
@ -411,6 +411,7 @@ class theory_lra::imp {
|
|||
TRACE("arith", tout << "add " << cnst << "\n";);
|
||||
mk_enode(cnst);
|
||||
theory_var v = mk_var(cnst);
|
||||
ctx().push_trail(value_trail<smt::context, lp::var_index>(var));
|
||||
var = m_solver->add_var(v, true);
|
||||
m_theory_var2var_index.setx(v, var, UINT_MAX);
|
||||
m_var_index2theory_var.setx(var, v, UINT_MAX);
|
||||
|
|
Loading…
Reference in a new issue