3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-02-11 19:34:32 +00:00

fix cjust update when backtracking over boolean decision

This commit is contained in:
Jakob Rath 2021-09-07 17:03:47 +02:00
parent a6643955e6
commit e74cf72cef
4 changed files with 9 additions and 29 deletions

View file

@ -65,6 +65,7 @@ namespace polysat {
void conflict_core::insert(signed_constraint c) {
SASSERT(!empty()); // should use set() to enter conflict state
LOG("inserting:" << c);
// Skip trivial constraints
// (e.g., constant ones such as "4 > 1"... only true ones should appear, otherwise the lemma would be a tautology)
if (c.is_always_true())