3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-02-21 07:54:42 +00:00
This commit is contained in:
Nikolaj Bjorner 2022-04-09 12:06:39 +02:00
parent 011c1b2dd2
commit f55b233228
2 changed files with 11 additions and 4 deletions

View file

@ -549,13 +549,14 @@ namespace arith {
found_compatible = false;
for (; it != end; ++it) {
api_bound* a2 = *it;
if (a1 == a2) continue;
if (a2->get_bound_kind() != kind) continue;
if (a1 == a2)
continue;
if (a2->get_bound_kind() != kind)
continue;
rational const& k2(a2->get_value());
found_compatible = true;
if (k1 < k2) {
if (k1 < k2)
return it;
}
}
return end;
}