Fix ranking order mistake
This commit is contained in:
parent
cd0bc02a74
commit
3a7bf4e672
@ -227,7 +227,7 @@ namespace platform {
|
||||
}
|
||||
// sort the ranksOrder vector by value
|
||||
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
|
||||
for (int i = 0; i < ranksOrder.size(); i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user