mirror of
https://github.com/Z3Prover/z3
synced 2025-05-04 06:15:46 +00:00
more efficient create_sum_from_row and other fixes
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
7acc679144
commit
d77e9c444e
7 changed files with 48 additions and 63 deletions
|
@ -183,10 +183,10 @@ void nla_grobner::add_row(unsigned i) {
|
|||
nex_sum * ns = m_nex_creator.mk_sum();
|
||||
|
||||
svector<lp::constraint_index> fixed_vars_constraints;
|
||||
create_sum_from_row(row, m_nex_creator, *ns, fixed_vars_constraints);
|
||||
create_sum_from_row(row, m_nex_creator, *ns);
|
||||
TRACE("nla_grobner", tout << "ns = " << *ns << "\n";);
|
||||
m_tmp_var_set.clear();
|
||||
assert_eq_0(ns, dep_from_vector(fixed_vars_constraints));
|
||||
assert_eq_0(ns, get_fixed_vars_dep_from_row(row, m_dep_manager));
|
||||
}
|
||||
|
||||
void nla_grobner::simplify_equations_to_process() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue