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:
parent
65a202873f
commit
9b34350646
3 changed files with 7 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue