3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-24 23:03:41 +00:00

refactor get_sort

This commit is contained in:
Nikolaj Bjorner 2021-02-02 04:45:54 -08:00
parent 4455f6caf8
commit 3ae4c6e9de
129 changed files with 362 additions and 362 deletions

View file

@ -27,7 +27,7 @@ void model_converter::display_add(std::ostream& out, ast_manager& m, func_decl*
VERIFY(e);
smt2_pp_environment_dbg env(m);
smt2_pp_environment* _env = m_env ? m_env : &env;
VERIFY(f->get_range() == m.get_sort(e));
VERIFY(f->get_range() == e->get_sort());
ast_smt2_pp(out, f, e, *_env, params_ref(), 0, "model-add") << "\n";
}