mirror of
https://github.com/Z3Prover/z3
synced 2025-07-19 10:52:02 +00:00
fix #4794
This commit is contained in:
parent
9156e355d8
commit
12198d13ac
10 changed files with 42 additions and 28 deletions
|
@ -3486,7 +3486,6 @@ namespace sat {
|
|||
return value(v) != l_undef && lvl(v) <= new_lvl;
|
||||
};
|
||||
|
||||
|
||||
for (unsigned i = old_num_vars; i < sz; ++i) {
|
||||
bool_var v = m_active_vars[i];
|
||||
if (is_visited(v) || is_active(v)) {
|
||||
|
@ -3496,7 +3495,9 @@ namespace sat {
|
|||
}
|
||||
else {
|
||||
set_eliminated(v, true);
|
||||
m_free_vars.push_back(v);
|
||||
if (!is_external(v) || true) {
|
||||
m_free_vars.push_back(v);
|
||||
}
|
||||
}
|
||||
}
|
||||
m_active_vars.shrink(j);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue