3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-28 19:35:50 +00:00

rebase with z3prover and fix term indices in monomials

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2019-06-12 12:46:59 -07:00
parent 578e24d8c1
commit 9a71ed87d9
3 changed files with 17 additions and 7 deletions

View file

@ -27,9 +27,8 @@
#include "math/lp/nla_intervals.h"
namespace nla {
// returns the monomial index
void solver::add_monomial(lpvar v, unsigned sz, lpvar const* vs) {
m_core->add(v, sz, vs);
m_core->add_monomial(v, sz, vs);
}
bool solver::is_monomial_var(lpvar v) const {