mirror of
https://github.com/Z3Prover/z3
synced 2025-04-14 12:58:44 +00:00
This commit is contained in:
parent
10dc8d7313
commit
0720998bac
|
@ -1494,6 +1494,7 @@ namespace arith {
|
|||
case OP_IS_INT:
|
||||
case OP_TO_INT:
|
||||
case OP_TO_REAL:
|
||||
case OP_NUM:
|
||||
return false;
|
||||
default:
|
||||
return true;
|
||||
|
|
|
@ -60,6 +60,11 @@ namespace array {
|
|||
ptr_vector<expr> args;
|
||||
sort* srt = n->get_sort();
|
||||
n = n->get_root();
|
||||
if (a.is_as_array(n->get_expr())) {
|
||||
values.set(n->get_expr_id(), n->get_expr());
|
||||
return;
|
||||
}
|
||||
|
||||
unsigned arity = get_array_arity(srt);
|
||||
func_decl * f = mk_aux_decl_for_array_sort(m, srt);
|
||||
func_interp * fi = alloc(func_interp, m, arity);
|
||||
|
|
Loading…
Reference in a new issue