File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -319,7 +319,7 @@ StepResult ComponentStep::take(bool prevFailed) {
319
319
// One of the previous components created by "split"
320
320
// failed, it means that we can't solve this component.
321
321
if ((prevFailed && DependsOnPartialSolutions.empty ()) ||
322
- CS.isTooComplex (Solutions))
322
+ CS.isTooComplex (Solutions) || CS. worseThanBestSolution () )
323
323
return done (/* isSuccess=*/ false );
324
324
325
325
// Setup active scope, only if previous component didn't fail.
@@ -924,6 +924,7 @@ StepResult ConjunctionStep::resume(bool prevFailed) {
924
924
925
925
// Rewind back the constraint system information.
926
926
ActiveChoice.reset ();
927
+ // restoreBestScore();
927
928
928
929
if (CS.isDebugMode ())
929
930
getDebugLogger () << " )\n " ;
You can’t perform that action at this time.
0 commit comments