mirror of
https://github.com/Z3Prover/z3
synced 2025-06-16 02:46:16 +00:00
refactor get_sort
This commit is contained in:
parent
4455f6caf8
commit
3ae4c6e9de
129 changed files with 362 additions and 362 deletions
|
@ -119,7 +119,7 @@ app * defined_names::impl::gen_name(expr * e, sort_ref_buffer & var_sorts, buffe
|
|||
var_names.push_back(symbol(i));
|
||||
}
|
||||
|
||||
sort * range = m.get_sort(e);
|
||||
sort * range = e->get_sort();
|
||||
func_decl * new_skolem_decl = m.mk_fresh_func_decl(m_z3name, symbol::null, domain.size(), domain.c_ptr(), range);
|
||||
app * n = m.mk_app(new_skolem_decl, new_args.size(), new_args.c_ptr());
|
||||
if (is_lambda(e)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue