3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-28 14:08:55 +00:00

work on well-orientedness

Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
Lev Nachmanson 2025-06-16 14:07:19 -07:00 committed by Lev Nachmanson
parent b2f01706be
commit 945eef7ab6
9 changed files with 559 additions and 326 deletions

View file

@ -30,7 +30,7 @@ namespace nlsat {
// then promote learned to main.
for (auto c : m_learned)
s.del_clause(c);
m_learned.reset();
m_learned.clear();
IF_VERBOSE(3, s.display(verbose_stream() << "before\n"));
unsigned sz = m_clauses.size();
@ -342,7 +342,7 @@ namespace nlsat {
else
m_clauses[j++] = c;
}
m_clauses.shrink(j);
m_clauses.resize(j);
return j < sz;
}