3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-06 22:23:22 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-01-10 13:23:24 -08:00
parent ab1f2f2e63
commit 41a00707e1

View file

@ -42,11 +42,12 @@ namespace sat {
if (m_aig[id].empty()) { if (m_aig[id].empty()) {
continue; continue;
} }
IF_VERBOSE(3, m_cuts[id].display(verbose_stream() << "augment " << id << "\nbefore\n")); bool t = false;
for (node const& n : m_aig[id]) { for (node const& n : m_aig[id]) {
IF_VERBOSE(3, if (!t && is_touched(n)) { t = true; m_cuts[id].display(verbose_stream() << "augment " << id << "\nbefore\n"); });
augment(id, n); augment(id, n);
} }
IF_VERBOSE(3, m_cuts[id].display(verbose_stream() << "after\n")); IF_VERBOSE(3, if (t) m_cuts[id].display(verbose_stream() << "after\n"));
} }
} }