mirror of
https://github.com/Z3Prover/z3
synced 2025-07-18 02:16:40 +00:00
factor out relation context for datalog
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
8425685ea3
commit
67183ea08a
24 changed files with 799 additions and 569 deletions
|
@ -365,7 +365,7 @@ namespace datalog {
|
|||
rule * r = *it;
|
||||
transform_rule(task.m_adornment, r);
|
||||
}
|
||||
if(!m_context.get_relation(task.m_pred).empty()) {
|
||||
if(!m_context.get_rel_context().get_relation(task.m_pred).empty()) {
|
||||
//we need a rule to copy facts that are already in a relation into the adorned
|
||||
//relation (since out intentional predicates can have facts, not only rules)
|
||||
create_transfer_rule(task);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue