3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-10-16 20:40:27 +00:00

fix build (add conversion operator)

This commit is contained in:
Jakob Rath 2023-01-10 17:17:14 +01:00
parent 0c799524e8
commit 1d0ad1ccc0
3 changed files with 3 additions and 4 deletions

View file

@ -1720,7 +1720,7 @@ namespace polysat {
VERIFY(x_min <= x_max);
// TODO: d +/- 1 would suffice here
// TODO: d +/- M would suffice here
rational d1 = dd1;
rational d2 = dd2;
VERIFY(adjust_bound(x_min, x_max, y0, M, a1, b1, c1, d1, nullptr));
@ -1801,7 +1801,7 @@ namespace polysat {
vector<signed_constraint> bounds;
rational x_min, x_max;
if (!s.m_viable.has_max_forbidden(x, a_l_b.as_signed_constraint(), x_max, x_min, bounds))
if (!s.m_viable.has_max_forbidden(x, a_l_b, x_max, x_min, bounds))
return false;
// retrieved maximal forbidden interval [x_max, x_min[.