3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-12 12:08:18 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-04-06 17:29:07 -07:00
parent 18b4c7e99b
commit 09c5de7798
2 changed files with 3 additions and 5 deletions

View file

@ -264,7 +264,6 @@ namespace datalog {
}
rule_set * operator()(rule_set const & source) {
// TODO pc
if (!m_context.xform_bit_blast()) {
return nullptr;
}
@ -300,8 +299,7 @@ namespace datalog {
// copy output predicates without any rule (bit-blasting not really needed)
const func_decl_set& decls = source.get_output_predicates();
for (func_decl* p : decls)
if (!source.contains(p))
result->set_output_predicate(p);
result->set_output_predicate(p);
if (m_context.get_model_converter()) {
generic_model_converter* fmc = alloc(generic_model_converter, m, "dl_mk_bit_blast");
@ -314,7 +312,7 @@ namespace datalog {
}
m_context.add_model_converter(concat(bvmc, fmc));
}
CTRACE("dl", result, result->display(tout););
return result;
}
};

View file

@ -112,7 +112,7 @@ namespace datalog {
}
m_context.add_model_converter(mc0);
}
CTRACE("dl", 0 != res, res->display(tout););
CTRACE("dl", res, res->display(tout););
return res.detach();
}