Skip to content

Commit 35c27ab

Browse files
committed
remove reference to useless flag
1 parent b4de297 commit 35c27ab

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

examples/cpp/nqueens.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -182,14 +182,10 @@ void CheckNumberOfSolutions(int size, int num_solutions) {
182182
if (absl::GetFlag(FLAGS_use_symmetry)) {
183183
if (size - 1 < kKnownUniqueSolutions) {
184184
CHECK_EQ(num_solutions, kNumUniqueSolutions[size - 1]);
185-
} else if (!absl::GetFlag(FLAGS_cp_disable_solve)) {
186-
CHECK_GT(num_solutions, 0);
187185
}
188186
} else {
189187
if (size - 1 < kKnownSolutions) {
190188
CHECK_EQ(num_solutions, kNumSolutions[size - 1]);
191-
} else if (!absl::GetFlag(FLAGS_cp_disable_solve)) {
192-
CHECK_GT(num_solutions, 0);
193189
}
194190
}
195191
}

0 commit comments

Comments
 (0)