mirror of
https://github.com/Z3Prover/z3
synced 2025-09-03 00:28:06 +00:00
track which var is an integer
Signed-off-by: Lev Nachmanson <levnach@microsoft.com>
This commit is contained in:
parent
e78a799b53
commit
7b433bee2b
5 changed files with 28 additions and 14 deletions
|
@ -487,7 +487,7 @@ namespace smt {
|
|||
result = m_theory_var2var_index[v];
|
||||
}
|
||||
if (result == UINT_MAX) {
|
||||
result = m_solver->add_var(v);
|
||||
result = m_solver->add_var(v, false);
|
||||
m_theory_var2var_index.setx(v, result, UINT_MAX);
|
||||
m_var_index2theory_var.setx(result, v, UINT_MAX);
|
||||
m_var_trail.push_back(v);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue