3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-06 22:23:22 +00:00

port on Grobner

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2019-10-09 16:41:03 -07:00
parent 3fd76b24af
commit 005021f74e

View file

@ -608,13 +608,12 @@ unsigned grobner::simplify_loop_on_target_monomials(equation const * source, equ
target->m_lc = false; target->m_lc = false;
mul_append(1, source, coeff, rest, new_monomials); mul_append(1, source, coeff, rest, new_monomials);
del_monomial(curr); del_monomial(curr);
target->m_monomials[i] = nullptr;
} }
else { else {
target->m_monomials[n_sz++] = curr; target->m_monomials[n_sz++] = curr;
} }
} }
return n_sz < target->m_monomials.size(); return n_sz;
} }
/** /**