3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 17:15:31 +00:00

fix in random_update()

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2020-04-03 12:36:48 -07:00
parent c25975a429
commit 7890555455

View file

@ -1330,7 +1330,7 @@ void lar_solver::fill_var_set_for_random_update(unsigned sz, var_index const * v
TRACE("lar_solver_rand", tout << "sz = " << sz << "\n";);
for (unsigned i = 0; i < sz; i++) {
var_index var = vars[i];
if (tv::is_term(var)) {
if (tv::is_term(var) && term_is_used_as_row(tv::unmask_term(var))) {
column_list.push_back(map_term_index_to_column_index(var));
} else {
column_list.push_back(var);