3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-16 07:45:27 +00:00

switch to general factorizations in nla_solver

Signed-off-by: Lev <levnach@hotmail.com>
This commit is contained in:
Lev 2018-10-03 18:49:18 -07:00 committed by Lev Nachmanson
parent 6ce69233c7
commit c672cf5c46
2 changed files with 57 additions and 11 deletions

View file

@ -41,6 +41,11 @@ public:
}
}
void add_coeff_var(unsigned j) {
rational c(1);
add_coeff_var(c, j);
}
bool is_empty() const {
return m_coeffs.empty(); // && is_zero(m_v);
}