mirror of
https://github.com/Z3Prover/z3
synced 2025-08-08 04:01:22 +00:00
disable bottom-up coi filtering when relations contain facts. bug reported by SeanMcL
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
3a3e1796e2
commit
b8e4871d9e
2 changed files with 4 additions and 0 deletions
|
@ -87,6 +87,7 @@ namespace datalog {
|
|||
for (func_decl_set::iterator I = output_preds.begin(),
|
||||
E = output_preds.end(); I != E; ++I) {
|
||||
func_decl* sym = *I;
|
||||
TRACE("dl", tout << sym->get_name() << "\n";);
|
||||
const rule_vector& output_rules = m_rules.get_predicate_rules(sym);
|
||||
for (unsigned i = 0; i < output_rules.size(); ++i) {
|
||||
m_facts.insert_if_not_there2(sym, Fact())->get_data().m_value.init_down(m_context, output_rules[i]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue