From 3a7bf4e672f2bc5624bb631385c626c1ad3bec26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Montan=CC=83ana?= Date: Sat, 23 Sep 2023 01:33:23 +0200 Subject: [PATCH] Fix ranking order mistake --- src/Platform/BestResults.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Platform/BestResults.cc b/src/Platform/BestResults.cc index 87ad3b3..c902c15 100644 --- a/src/Platform/BestResults.cc +++ b/src/Platform/BestResults.cc @@ -227,7 +227,7 @@ namespace platform { } // sort the ranksOrder vector by value sort(ranksOrder.begin(), ranksOrder.end(), [](const pair& a, const pair& b) { - return a.second < b.second; + return a.second > b.second; }); // Assign the ranks for (int i = 0; i < ranksOrder.size(); i++) {