mirror of
https://github.com/Z3Prover/z3
synced 2025-10-10 17:58:06 +00:00
fix pb rewriter
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
f04e805fa4
commit
e7d43ed516
16 changed files with 215 additions and 129 deletions
|
@ -2358,6 +2358,14 @@ namespace sat {
|
|||
idx--;
|
||||
}
|
||||
reset_unmark(old_size);
|
||||
if (m_core.size() > 1) {
|
||||
unsigned j = 0;
|
||||
for (unsigned i = 0; i < m_core.size(); ++i) {
|
||||
if (lvl(m_core[i]) > 0) m_core[j++] = m_core[i];
|
||||
}
|
||||
m_core.shrink(j);
|
||||
}
|
||||
|
||||
if (m_config.m_core_minimize) {
|
||||
if (m_min_core_valid && m_min_core.size() < m_core.size()) {
|
||||
IF_VERBOSE(1, verbose_stream() << "(sat.updating core " << m_min_core.size() << " " << m_core.size() << ")\n";);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue