diff --git a/Plugins/ExaTrkX/src/TorchTruthGraphMetricsHook.cpp b/Plugins/ExaTrkX/src/TorchTruthGraphMetricsHook.cpp index 15b27ef79a9..cf1abbaa549 100644 --- a/Plugins/ExaTrkX/src/TorchTruthGraphMetricsHook.cpp +++ b/Plugins/ExaTrkX/src/TorchTruthGraphMetricsHook.cpp @@ -26,7 +26,7 @@ auto cantorize(std::vector edgeIndex, cantorEdgeIndex.emplace_back(*it, *std::next(it)); } - std::ranges::sort(cantorEdgeIndex); + std::ranges::sort(cantorEdgeIndex, std::less>{}); auto new_end = std::unique(cantorEdgeIndex.begin(), cantorEdgeIndex.end()); if (new_end != cantorEdgeIndex.end()) {