mirror of
https://github.com/Z3Prover/z3
synced 2026-07-17 04:25:44 +00:00
use expr based access to enodes to allow for storing first-class lambas
This commit is contained in:
parent
5f3088f3b5
commit
2cc4422018
54 changed files with 301 additions and 279 deletions
|
|
@ -2367,7 +2367,7 @@ namespace smt {
|
|||
}
|
||||
|
||||
model_value_proc * theory_pb::mk_value(enode * n, model_generator & mg) {
|
||||
app* a = n->get_expr();
|
||||
auto a = n->get_app();
|
||||
pb_model_value_proc* p = alloc(pb_model_value_proc, a);
|
||||
for (unsigned i = 0; i < a->get_num_args(); ++i) {
|
||||
p->add(ctx.get_enode(a->get_arg(i)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue