mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
remove ast_manager get_sort method entirely
This commit is contained in:
parent
489df0760f
commit
8f577d3943
72 changed files with 209 additions and 208 deletions
|
@ -1187,7 +1187,7 @@ namespace opt {
|
|||
app* context::purify(generic_model_converter_ref& fm, expr* term) {
|
||||
std::ostringstream out;
|
||||
out << mk_pp(term, m);
|
||||
app* q = m.mk_fresh_const(out.str(), m.get_sort(term));
|
||||
app* q = m.mk_fresh_const(out.str(), term->get_sort());
|
||||
if (!fm) fm = alloc(generic_model_converter, m, "opt");
|
||||
if (m_arith.is_int_real(term)) {
|
||||
m_hard_constraints.push_back(m_arith.mk_ge(q, term));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue