Skip to content

Commit

Permalink
graph: Fix cliques_test on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizux committed Dec 4, 2024
1 parent 63f17fe commit 1da7d7f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ortools/graph/cliques_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,11 @@ void RunBronKerboschAlgorithmUntilCompletion(
}

TEST(BronKerbosch, CompleteGraph) {
#if !defined(_MSC_VER)
constexpr int kNumNodes[] = {1, 5, 50, 500, 5000};
#else
constexpr int kNumNodes[] = {1, 5, 50, 500};
#endif
for (const int num_nodes : kNumNodes) {
auto graph = FullGraph;
CliqueReporter<int> reporter;
Expand Down

0 comments on commit 1da7d7f

Please sign in to comment.