mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 11:25:51 +00:00
do not use nl variables in random_update()
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
3ab7477663
commit
06173aa4d7
7 changed files with 57 additions and 7 deletions
|
@ -1439,15 +1439,11 @@ void lar_solver::fill_var_set_for_random_update(unsigned sz, var_index const * v
|
|||
for (unsigned i = 0; i < sz; i++) {
|
||||
var_index var = vars[i];
|
||||
if (var >= m_terms_start_index) { // handle the term
|
||||
lpvar j = adjust_term_index(var);
|
||||
if (column_is_int(j))
|
||||
continue;
|
||||
for (auto it : *m_terms[var - m_terms_start_index]) {
|
||||
column_list.push_back(it.var());
|
||||
}
|
||||
} else {
|
||||
if (!column_is_int(var))
|
||||
column_list.push_back(var);
|
||||
column_list.push_back(var);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue