Skip to content

Commit

Permalink
fix exatrakx cantorpair
Browse files Browse the repository at this point in the history
  • Loading branch information
AJPfleger committed Sep 7, 2024
1 parent 16b3590 commit 10c7931
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/UnitTests/Plugins/ExaTrkX/ExaTrkXEdgeBuildingTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ void test_random_graph(int emb_dim, int n_nodes, float r, int knn,
edges_test_cantor.push_back(a < b ? CantorPair(a, b) : CantorPair(b, a));
}

std::ranges::sort(edges_ref_cantor);
std::ranges::sort(edges_test_cantor);
std::ranges::sort(edges_ref_cantor, std::less<CantorPair>{});
std::ranges::sort(edges_test_cantor, std::less<CantorPair>{});

#if PRINT
std::cout << "test size " << edges_test_cantor.size() << std::endl;
Expand Down

0 comments on commit 10c7931

Please sign in to comment.