mirror of
https://github.com/Z3Prover/z3
synced 2025-06-16 02:46:16 +00:00
fix build, refactor
This commit is contained in:
parent
3ae4c6e9de
commit
937b61fc88
53 changed files with 145 additions and 127 deletions
|
@ -654,7 +654,7 @@ namespace smt {
|
|||
Remark: this method uses get_fresh_value, so it may fail.
|
||||
*/
|
||||
expr* get_k_interp(app* k) {
|
||||
sort* s = m.get_sort(k);
|
||||
sort* s = k->get_sort();
|
||||
SASSERT(is_infinite(s));
|
||||
func_decl* k_decl = k->get_decl();
|
||||
expr* r = m_model->get_const_interp(k_decl);
|
||||
|
@ -1914,7 +1914,7 @@ namespace smt {
|
|||
if (is_var_and_ground(to_app(atom)->get_arg(0), to_app(atom)->get_arg(1), v, tmp, inv)) {
|
||||
if (inv)
|
||||
le = !le;
|
||||
sort* s = m.get_sort(tmp);
|
||||
sort* s = tmp->get_sort();
|
||||
expr_ref one(m);
|
||||
one = mk_one(s);
|
||||
if (le)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue