Skip to content

Commit 7c52f28

Browse files
committed
fix
1 parent eb9e389 commit 7c52f28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ortools/sat/scheduling_cuts.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1456,7 +1456,7 @@ ABSL_MUST_USE_RESULT bool GenerateShortCompletionTimeCutsWithExactBound(
14561456
helper, min_sum_of_ends, min_sum_of_weighted_ends,
14571457
cut_use_precedences, exploration_limit);
14581458
if (status == CompletionTimeExplorationStatus::NO_VALID_PERMUTATION) {
1459-
return false;
1459+
break;
14601460
} else if (status == CompletionTimeExplorationStatus::ABORTED) {
14611461
break;
14621462
}

0 commit comments

Comments
 (0)