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

sort nla_expr

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2019-07-15 15:07:59 -07:00
parent 00d366e3b8
commit 8eaa2bfb02
5 changed files with 103 additions and 20 deletions

View file

@ -124,7 +124,7 @@ interv horner::interval_of_expr(const nex& e) {
}
}
interv horner::interval_of_mul(const vector<nex>& es) {
interv horner::interval_of_mul(const std::vector<nex>& es) {
interv a = interval_of_expr(es[0]);
// std::cout << "a" << std::endl;
TRACE("nla_cn_details", tout << "es[0]= "<< es[0] << std::endl << "a = "; m_intervals.display(tout, a); tout << "\n";);
@ -150,7 +150,7 @@ interv horner::interval_of_mul(const vector<nex>& es) {
return a;
}
interv horner::interval_of_sum(const vector<nex>& es) {
interv horner::interval_of_sum(const std::vector<nex>& es) {
interv a = interval_of_expr(es[0]);
TRACE("nla_cn_details", tout << "es[0]= " << es[0] << "\n"; m_intervals.display(tout, a) << "\n";);
if (m_intervals.is_inf(a)) {