3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-08 08:15:47 +00:00

fix bugs in scc_tr

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2018-03-25 14:55:42 -07:00
parent bfc0b214ab
commit a79400a01b
7 changed files with 83 additions and 41 deletions

View file

@ -245,14 +245,14 @@ namespace sat {
m_pos.push_back(l);
m_neg.push_back(~l);
}
#if 1
compare_left cmp(big);
std::sort(m_pos.begin(), m_pos.end(), cmp);
std::sort(m_neg.begin(), m_neg.end(), cmp);
#else
radix_sort(big, m_pos);
radix_sort(big, m_neg);
#endif
// alternative: worse
// radix_sort(big, m_pos);
// radix_sort(big, m_neg);
IF_VERBOSE(100,
for (literal l : m_pos) verbose_stream() << big.get_left(l) << " ";
verbose_stream() << "\n";