mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 16:45:31 +00:00
datalog: fix compilation for rules like a(X) :- not b(X).
Signed-off-by: Nuno Lopes <a-nlopes@microsoft.com>
This commit is contained in:
parent
4be2f608f1
commit
6017dcace3
1 changed files with 1 additions and 1 deletions
|
@ -857,7 +857,7 @@ namespace datalog {
|
|||
ast_manager& m = m_context.get_manager();
|
||||
unsigned pt_len = r->get_positive_tail_size();
|
||||
unsigned ut_len = r->get_uninterpreted_tail_size();
|
||||
if (pt_len == ut_len || pt_len == 0) {
|
||||
if (pt_len == ut_len) {
|
||||
return;
|
||||
}
|
||||
// populate negative variables:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue