mirror of
https://github.com/Z3Prover/z3
synced 2025-06-26 15:53:41 +00:00
Promote assertions to release mode
This commit is contained in:
parent
576e0b70b2
commit
f0625b604a
1 changed files with 2 additions and 4 deletions
|
@ -723,9 +723,7 @@ namespace polysat {
|
||||||
/// Verify the value we're trying to assign against the univariate solver
|
/// Verify the value we're trying to assign against the univariate solver
|
||||||
void solver::assign_verify(pvar v, rational val, justification j) {
|
void solver::assign_verify(pvar v, rational val, justification j) {
|
||||||
SASSERT(j.is_decision() || j.is_propagation());
|
SASSERT(j.is_decision() || j.is_propagation());
|
||||||
#ifndef NDEBUG
|
|
||||||
unsigned const old_size = m_search.size();
|
unsigned const old_size = m_search.size();
|
||||||
#endif
|
|
||||||
signed_constraint c;
|
signed_constraint c;
|
||||||
clause_ref lemma;
|
clause_ref lemma;
|
||||||
{
|
{
|
||||||
|
@ -746,8 +744,8 @@ namespace polysat {
|
||||||
LOG("Produced lemma: " << show_deref(lemma));
|
LOG("Produced lemma: " << show_deref(lemma));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
SASSERT(m_search.size() == old_size);
|
VERIFY_EQ(m_search.size(), old_size);
|
||||||
SASSERT(!m_search.get_assignment().contains(v));
|
VERIFY(!m_search.get_assignment().contains(v));
|
||||||
if (lemma) {
|
if (lemma) {
|
||||||
add_clause(*lemma);
|
add_clause(*lemma);
|
||||||
if (is_conflict()) {
|
if (is_conflict()) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue