mirror of
https://github.com/Z3Prover/z3
synced 2026-02-21 07:54:42 +00:00
This commit is contained in:
parent
011c1b2dd2
commit
f55b233228
2 changed files with 11 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue