3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-09-03 08:38:06 +00:00

add missing check for difference logic fragment for clause heads

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2012-11-10 11:50:17 +01:00
parent a5ceff98ea
commit 108bbb0597
2 changed files with 2 additions and 2 deletions

View file

@ -1283,9 +1283,10 @@ namespace pdr {
for (it = rules.begin(); it != end; ++it) {
datalog::rule& r = *(*it);
unsigned utsz = r.get_uninterpreted_tail_size();
forms.push_back(r.get_head());
for (unsigned i = utsz; i < r.get_tail_size(); ++i) {
forms.push_back(r.get_tail(i));
}
}
}
m_is_dl = is_difference_logic(m, forms.size(), forms.c_ptr());
}