mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
breaking regression tests: ensure that model values are of the sort of the original expression.
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
db71563478
commit
985fc50961
1 changed files with 1 additions and 1 deletions
|
@ -3126,7 +3126,7 @@ namespace smt {
|
|||
TRACE("arith", tout << "Truncating non-integer value. This is possible for non-linear constraints v" << v << " " << num << "\n";);
|
||||
num = floor(num);
|
||||
}
|
||||
return alloc(expr_wrapper_proc, m_factory->mk_value(num, is_int(v)));
|
||||
return alloc(expr_wrapper_proc, m_factory->mk_value(num, m_util.is_int(var2expr(v))));
|
||||
}
|
||||
|
||||
// -----------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue