mirror of
https://github.com/Z3Prover/z3
synced 2026-07-19 05:25:48 +00:00
prepare for enodes over lambdas
This commit is contained in:
parent
705569df24
commit
d025b34606
17 changed files with 65 additions and 62 deletions
|
|
@ -2369,9 +2369,8 @@ namespace smt {
|
|||
model_value_proc * theory_pb::mk_value(enode * n, model_generator & mg) {
|
||||
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)));
|
||||
}
|
||||
for (auto arg : *a)
|
||||
p->add(ctx.get_enode(arg));
|
||||
return p;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue