mirror of
https://github.com/Z3Prover/z3
synced 2025-06-03 04:41:21 +00:00
fix #4927
This commit is contained in:
parent
bb56443e71
commit
690bc51b7f
2 changed files with 4 additions and 1 deletions
|
@ -411,6 +411,9 @@ public:
|
||||||
app * mk_int(int i) {
|
app * mk_int(int i) {
|
||||||
return mk_numeral(rational(i), true);
|
return mk_numeral(rational(i), true);
|
||||||
}
|
}
|
||||||
|
app * mk_int(unsigned i) {
|
||||||
|
return mk_numeral(rational(i), true);
|
||||||
|
}
|
||||||
app * mk_int(rational const& r) {
|
app * mk_int(rational const& r) {
|
||||||
return mk_numeral(r, true);
|
return mk_numeral(r, true);
|
||||||
}
|
}
|
||||||
|
|
|
@ -192,7 +192,7 @@ public:
|
||||||
expr_ref b = mk_bounded(axioms, to_app(x), lo.get_unsigned(), hi.get_unsigned());
|
expr_ref b = mk_bounded(axioms, to_app(x), lo.get_unsigned(), hi.get_unsigned());
|
||||||
rep.insert(x, b);
|
rep.insert(x, b);
|
||||||
m_bounds.insert(x, bound(lo.get_unsigned(), hi.get_unsigned(), 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++) {
|
for (unsigned i = 0; !g->inconsistent() && i < g->size(); i++) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue