3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-07 19:51:22 +00:00

fix warnings

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-01-23 12:14:34 -06:00
parent 6321dabe93
commit 794aafa6f8
4 changed files with 4 additions and 4 deletions

View file

@ -1267,11 +1267,12 @@ namespace qe {
for (auto const& terms : partitions) {
expr* a = nullptr;
for (expr* b : terms) {
if (is_uninterp(b))
if (is_uninterp(b)) {
if (a)
result.push_back(m.mk_eq(a, b));
else
a = b;
}
}
}
TRACE("qe", tout << result << "\n";);