mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 03:45:51 +00:00
fix bcd2
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
c3b7c738f8
commit
182fea2d7b
3 changed files with 5 additions and 7 deletions
|
@ -91,7 +91,7 @@ namespace opt {
|
|||
rational r = m_lower;
|
||||
if (m_msolver) {
|
||||
rational q = m_msolver->get_lower();
|
||||
if (r < q) r = q;
|
||||
if (q > r) r = q;
|
||||
}
|
||||
return r;
|
||||
}
|
||||
|
@ -100,7 +100,7 @@ namespace opt {
|
|||
rational r = m_upper;
|
||||
if (m_msolver) {
|
||||
rational q = m_msolver->get_upper();
|
||||
if (r > q) r = q;
|
||||
if (q < r) r = q;
|
||||
}
|
||||
return r;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue