3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-27 02:45:51 +00:00

use u_set in random_update()

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2020-03-26 18:11:32 -07:00
parent 12f62e73d5
commit 352f4b5b37
2 changed files with 5 additions and 4 deletions

View file

@ -30,6 +30,7 @@ random_updater::random_updater(
const vector<unsigned> & column_indices) :
m_lar_solver(lar_solver),
m_range(100000) {
m_var_set.resize(m_lar_solver.number_of_vars());
for (unsigned j : column_indices)
add_column_to_sets(j);
}