mirror of
https://github.com/Z3Prover/z3
synced 2025-04-13 12:28:44 +00:00
disable filtering on negated tails. Issue #634
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
e9e926d4d6
commit
e8d85f91d7
|
@ -111,7 +111,7 @@ namespace datalog {
|
|||
bool rule_modified = false;
|
||||
for (unsigned i = 0; i < sz; i++) {
|
||||
app * tail = r->get_tail(i);
|
||||
if (is_candidate(tail)) {
|
||||
if (is_candidate(tail) && !r->is_neg_tail(i)) {
|
||||
TRACE("mk_filter_rules", tout << "is_candidate: " << mk_pp(tail, m) << "\n";);
|
||||
var_idx_set non_local_vars = rm.collect_rule_vars_ex(r, tail);
|
||||
func_decl * filter_decl = mk_filter_decl(tail, non_local_vars);
|
||||
|
|
Loading…
Reference in a new issue