mirror of
https://github.com/Z3Prover/z3
synced 2025-08-23 11:37:54 +00:00
insert_eval?
This commit is contained in:
parent
aeb6138c25
commit
1002538565
2 changed files with 7 additions and 3 deletions
|
@ -904,6 +904,10 @@ namespace polysat {
|
|||
if (m_bvars.is_true(lit)) // may happen if we only use the clause to justify a new constraint; it is not a real lemma
|
||||
return std::nullopt;
|
||||
if (!m_bvars.is_assigned(lit)) {
|
||||
DEBUG_CODE({
|
||||
if (lit2cnstr(lit).eval(*this) != l_undef)
|
||||
LOG("WARNING: missed evaluation of literal: " << lit_pp(*this, lit));
|
||||
});
|
||||
SASSERT(!is_propagation);
|
||||
is_propagation = true;
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue