3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-11 05:30:51 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-06-03 10:09:18 -07:00
parent a23ca1792b
commit 6e47499e26
13 changed files with 268 additions and 310 deletions

View file

@ -72,7 +72,7 @@ namespace datalog {
}
context& ctx = source.get_context();
rule_manager& rm = source.get_rule_manager();
rule_set * result = alloc(rule_set, ctx);
scoped_ptr<rule_set> result = alloc(rule_set, ctx);
unsigned sz = source.get_num_rules();
rule_ref new_rule(rm);
app_ref_vector tail(m);
@ -109,7 +109,7 @@ namespace datalog {
}
TRACE("dl", result->display(tout););
return result;
return result.detach();
}
app_ref mk_magic_symbolic::mk_query(app* q) {