bestResults #9

Merged
rmontanana merged 11 commits from bestResults into main 2023-09-25 12:02:18 +00:00
Showing only changes of commit 3a7bf4e672 - Show all commits

View File

@ -227,7 +227,7 @@ namespace platform {
} }
// sort the ranksOrder vector by value // sort the ranksOrder vector by value
sort(ranksOrder.begin(), ranksOrder.end(), [](const pair<string, double>& a, const pair<string, double>& b) { sort(ranksOrder.begin(), ranksOrder.end(), [](const pair<string, double>& a, const pair<string, double>& b) {
return a.second < b.second; return a.second > b.second;
}); });
// Assign the ranks // Assign the ranks
for (int i = 0; i < ranksOrder.size(); i++) { for (int i = 0; i < ranksOrder.size(); i++) {