3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-04 06:15:46 +00:00

move the nex object creation from a row to nla_common

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2019-09-19 16:11:51 -07:00
parent a085edceff
commit a3d0372e3d
6 changed files with 50 additions and 51 deletions

View file

@ -199,13 +199,11 @@ nex * nla_grobner::mk_monomial_in_row(rational coeff, lpvar j, ci_dependency * &
}
void nla_grobner::add_row(unsigned i) {
NOT_IMPLEMENTED_YET();
/*
const auto& row = c().m_lar_solver.A_r().m_rows[i];
void nla_grobner::add_row(unsigned i) {
const auto& row = c().m_lar_solver.A_r().m_rows[i];
TRACE("non_linear", tout << "adding row to gb\n"; c().m_lar_solver.print_row(row, tout););
nex * row_nex;
v_dependency * dep = nullptr;
nex * row_nex = nullptr;
/* v_dependency * dep = nullptr;
m_tmp_var_set.reset();
for (const auto & p : row) {
rational coeff = p.coeff();