mirror of
https://github.com/Z3Prover/z3
synced 2025-10-12 10:40:17 +00:00
refactor get_sort
This commit is contained in:
parent
4455f6caf8
commit
3ae4c6e9de
129 changed files with 362 additions and 362 deletions
|
@ -305,7 +305,7 @@ namespace smt {
|
|||
}
|
||||
else {
|
||||
if (!pushed) pushed = true, push();
|
||||
expr_ref c(m.mk_fresh_const("v", m.get_sort(v)), m);
|
||||
expr_ref c(m.mk_fresh_const("v", v->get_sort()), m);
|
||||
expr_ref eq(m.mk_eq(c, v), m);
|
||||
assert_expr(eq);
|
||||
vars.push_back(c);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue