Skip to content

Commit

Permalink
fix exatrkx - cantorEdge
Browse files Browse the repository at this point in the history
  • Loading branch information
AJPfleger committed Sep 6, 2024
1 parent dd5509c commit b50210a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Plugins/ExaTrkX/src/TorchTruthGraphMetricsHook.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ auto cantorize(std::vector<std::int64_t> edgeIndex,
cantorEdgeIndex.emplace_back(*it, *std::next(it));
}

std::ranges::sort(cantorEdgeIndex);
std::ranges::sort(cantorEdgeIndex, std::less<CantorEdge<std::int64_t>>{});

auto new_end = std::unique(cantorEdgeIndex.begin(), cantorEdgeIndex.end());
if (new_end != cantorEdgeIndex.end()) {
Expand Down

0 comments on commit b50210a

Please sign in to comment.