3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-06 23:35:46 +00:00

one more special case

This commit is contained in:
Jakob Rath 2022-03-10 10:32:23 +01:00
parent 1faccffd0d
commit 22411f8b43
2 changed files with 19 additions and 0 deletions

View file

@ -61,6 +61,7 @@ namespace polysat {
void clause_builder::push(signed_constraint c) {
SASSERT(c);
SASSERT(c->has_bvar());
SASSERT(!c.is_always_false()); // if this case occurs legitimately, we should skip the constraint.
if (c.is_always_true()) {
m_is_tautology = true;
return;