3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-22 16:45:31 +00:00

Promote assertions to release mode

This commit is contained in:
Jakob Rath 2023-02-01 11:12:13 +01:00
parent 576e0b70b2
commit f0625b604a

View file

@ -723,9 +723,7 @@ namespace polysat {
/// Verify the value we're trying to assign against the univariate solver
void solver::assign_verify(pvar v, rational val, justification j) {
SASSERT(j.is_decision() || j.is_propagation());
#ifndef NDEBUG
unsigned const old_size = m_search.size();
#endif
signed_constraint c;
clause_ref lemma;
{
@ -746,8 +744,8 @@ namespace polysat {
LOG("Produced lemma: " << show_deref(lemma));
}
}
SASSERT(m_search.size() == old_size);
SASSERT(!m_search.get_assignment().contains(v));
VERIFY_EQ(m_search.size(), old_size);
VERIFY(!m_search.get_assignment().contains(v));
if (lemma) {
add_clause(*lemma);
if (is_conflict()) {