Skip to content

Commit 8ddfb9f

Browse files
committed
Untest on unsat bugfix
This commit fixes a bug in Untest when the last sat call was Unsat. The conflict on untest results in more derivations during backtracking. This fix ensures that all unit clauses are propagated. Previously, the unit clause from derivations during untest backtracking were not propagated.
1 parent f9dc12e commit 8ddfb9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/xo/s.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ func (s *S) cleanupSolve() {
649649
if drvd.TargetLevel < s.endTestLevel {
650650
trail.Back(s.endTestLevel)
651651
s.x = CNull
652-
break
652+
//break
653653
}
654654
trail.Back(drvd.TargetLevel)
655655
trail.Assign(drvd.Unit, drvd.P)

0 commit comments

Comments
 (0)