3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 18:31:49 +00:00
This commit is contained in:
Nikolaj Bjorner 2021-01-08 15:40:15 -08:00
parent bb56443e71
commit 690bc51b7f
2 changed files with 4 additions and 1 deletions

View file

@ -411,6 +411,9 @@ public:
app * mk_int(int i) {
return mk_numeral(rational(i), true);
}
app * mk_int(unsigned i) {
return mk_numeral(rational(i), true);
}
app * mk_int(rational const& r) {
return mk_numeral(r, true);
}

View file

@ -192,7 +192,7 @@ public:
expr_ref b = mk_bounded(axioms, to_app(x), lo.get_unsigned(), hi.get_unsigned());
rep.insert(x, b);
m_bounds.insert(x, bound(lo.get_unsigned(), hi.get_unsigned(), b));
TRACE("pb", tout << "add bound " << mk_pp(x, m) << "\n";);
TRACE("pb", tout << "add bound " << lo << " " << hi << ": " << mk_pp(x, m) << "\n";);
}
}
for (unsigned i = 0; !g->inconsistent() && i < g->size(); i++) {