mirror of
https://github.com/Z3Prover/z3
synced 2025-08-03 09:50:23 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
fc4260e018
commit
20cfbcd66b
6 changed files with 51 additions and 5 deletions
|
@ -838,8 +838,9 @@ namespace smt {
|
|||
|
||||
template<typename Ext>
|
||||
typename theory_arith<Ext>::inf_numeral theory_arith<Ext>::normalize_bound(theory_var v, inf_numeral const & k, bound_kind kind) {
|
||||
if (is_real(v))
|
||||
if (is_real(v)) {
|
||||
return k;
|
||||
}
|
||||
if (kind == B_LOWER)
|
||||
return inf_numeral(ceil(k));
|
||||
SASSERT(kind == B_UPPER);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue