mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 08:35:31 +00:00
debug
This commit is contained in:
parent
ae41f82939
commit
bdf20f513b
1 changed files with 5 additions and 2 deletions
|
@ -1423,9 +1423,12 @@ namespace polysat {
|
|||
continue;
|
||||
size_t const undefs = count_if(cl, [&](auto lit) { return !m_bvars.is_assigned(lit); });
|
||||
if (undefs == 1) {
|
||||
LOG("Missed boolean propagation of clause: " << cl);
|
||||
verbose_stream() << "Missed boolean propagation of clause: " << cl << "\n";
|
||||
for (sat::literal lit : cl) {
|
||||
LOG(" " << lit_pp(*this, lit));
|
||||
verbose_stream() << " " << lit_pp(*this, lit);
|
||||
if (count(m_bvars.watch(lit), &cl) != 0)
|
||||
verbose_stream() << " (bool-watched)";
|
||||
verbose_stream() << "\n";
|
||||
}
|
||||
}
|
||||
VERIFY(undefs != 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue