3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-30 12:25:51 +00:00

test output predicates

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2013-10-13 06:25:26 -07:00
parent 65a202873f
commit 9b34350646
3 changed files with 7 additions and 1 deletions

View file

@ -1448,6 +1448,10 @@ namespace datalog {
transformer.register_plugin(slice);
m_ctx.transform_rules(transformer);
}
if (m_ctx.get_rules().get_output_predicates().empty()) {
return l_false;
}
m_query_pred = m_ctx.get_rules().get_output_predicate();
m_rules.replace_rules(m_ctx.get_rules());
m_rules.close();