mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 09:05:31 +00:00
check for non-nullness when handling optional info fields for marking. Fixes issue #719
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
879f792125
commit
0a09d5ff52
2 changed files with 19 additions and 6 deletions
|
@ -44,6 +44,9 @@ namespace datalog {
|
|||
if (m_context.has_facts(r->get_decl(i))) {
|
||||
return 0;
|
||||
}
|
||||
if (false && r->is_neg_tail(i)) {
|
||||
return 0;
|
||||
}
|
||||
if (r->is_neg_tail(i)) {
|
||||
if (!engine.get_fact(r->get_decl(i)).is_reachable()) {
|
||||
if (!new_tail) {
|
||||
|
@ -53,11 +56,13 @@ namespace datalog {
|
|||
}
|
||||
new_tail = true;
|
||||
}
|
||||
} else if (new_tail) {
|
||||
}
|
||||
else if (new_tail) {
|
||||
m_new_tail.push_back(r->get_tail(i));
|
||||
m_new_tail_neg.push_back(true);
|
||||
}
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
SASSERT(!new_tail);
|
||||
if (!engine.get_fact(r->get_decl(i)).is_reachable()) {
|
||||
contained = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue