mirror of
https://github.com/Z3Prover/z3
synced 2025-06-21 21:33:39 +00:00
refactor get_sort
This commit is contained in:
parent
4455f6caf8
commit
3ae4c6e9de
129 changed files with 362 additions and 362 deletions
|
@ -501,7 +501,7 @@ namespace recfun {
|
|||
}
|
||||
|
||||
symbol fresh_name(m().mk_fresh_id());
|
||||
auto pd = mk_def(fresh_name, n, domain.c_ptr(), m().get_sort(max_expr));
|
||||
auto pd = mk_def(fresh_name, n, domain.c_ptr(), max_expr->get_sort());
|
||||
func_decl* f = pd.get_def()->get_decl();
|
||||
expr_ref new_body(m().mk_app(f, n, args.c_ptr()), m());
|
||||
set_definition(subst, pd, n, vars, max_expr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue