mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
fix a bug in Horner heuristic
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
8f297666fe
commit
8921ed56b5
16 changed files with 42 additions and 58 deletions
|
@ -2683,7 +2683,10 @@ void run_lar_solver(argument_parser & args_parser, lar_solver * solver, mps_read
|
|||
return;
|
||||
}
|
||||
std::cout << "checking randomize" << std::endl;
|
||||
vector<var_index> all_vars = solver->get_list_of_all_var_indices();
|
||||
vector<var_index> all_vars;
|
||||
for (unsigned j = 0; j < solver->number_of_vars(); j++)
|
||||
all_vars.push_back(j);
|
||||
|
||||
unsigned m = all_vars.size();
|
||||
if (m > 100)
|
||||
m = 100;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue