3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-11-05 13:56:03 +00:00

fix bug in contains check

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2014-09-22 01:37:11 -07:00
parent 22808a039d
commit 816119e8ae
2 changed files with 2 additions and 1 deletions

View file

@ -480,7 +480,7 @@ bool doc_manager::contains(doc const& a, doc const& b) const {
for (unsigned i = 0; i < a.neg().size(); ++i) {
bool found = false;
for (unsigned j = 0; !found && j < b.neg().size(); ++j) {
found = m.contains(b.neg()[i],a.neg()[j]);
found = m.contains(b.neg()[j],a.neg()[i]);
}
if (!found) return false;
}