mirror of
https://github.com/Z3Prover/z3
synced 2025-08-08 20:21:23 +00:00
parent
f999c14a1e
commit
57086edc42
2 changed files with 6 additions and 1 deletions
|
@ -345,6 +345,9 @@ namespace qe {
|
|||
if (is_arith(v) && !tids.contains(v)) {
|
||||
rational r;
|
||||
expr_ref val = eval(v);
|
||||
if (!m.inc())
|
||||
return vector<def>();
|
||||
|
||||
VERIFY(a.is_numeral(val, r));
|
||||
TRACE("qe", tout << mk_pp(v, m) << " " << val << "\n";);
|
||||
tids.insert(v, mbo.add_var(r, a.is_int(v)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue