mirror of
https://github.com/Z3Prover/z3
synced 2025-04-14 21:08:46 +00:00
parent
077024f024
commit
94234aef97
|
@ -40,8 +40,8 @@ namespace smt {
|
||||||
SASSERT(is_fixed(v));
|
SASSERT(is_fixed(v));
|
||||||
// WARNINING: it is not safe to use get_value(v) here, since
|
// WARNINING: it is not safe to use get_value(v) here, since
|
||||||
// get_value(v) may not satisfy v bounds at this point.
|
// get_value(v) may not satisfy v bounds at this point.
|
||||||
CTRACE("arith_bug", !lower_bound(v).is_rational(), display_var(tout, v););
|
if (!lower_bound(v).is_rational())
|
||||||
SASSERT(lower_bound(v).is_rational());
|
return;
|
||||||
numeral const & val = lower_bound(v).get_rational();
|
numeral const & val = lower_bound(v).get_rational();
|
||||||
value_sort_pair key(val, is_int_src(v));
|
value_sort_pair key(val, is_int_src(v));
|
||||||
TRACE("arith_eq", tout << mk_pp(get_enode(v)->get_owner(), get_manager()) << " = " << val << "\n";);
|
TRACE("arith_eq", tout << mk_pp(get_enode(v)->get_owner(), get_manager()) << " = " << val << "\n";);
|
||||||
|
|
Loading…
Reference in a new issue