3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-20 02:00:22 +00:00

work on lemma from product to factors, and some renaming

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2018-08-30 18:58:26 +08:00
parent 18714ce020
commit 0644194fc9
5 changed files with 43 additions and 37 deletions

View file

@ -587,7 +587,7 @@ lar_term lar_solver::get_term_to_maximize(unsigned j_or_term) const {
}
if (j_or_term < m_mpq_lar_core_solver.m_r_x.size()) {
lar_term r;
r.add_monomial(one_of_type<mpq>(), j_or_term);
r.add_coeff_var(one_of_type<mpq>(), j_or_term);
return r;
}
return lar_term(); // return an empty term