Commit c630593449a3dd973e0ebea3c70ee75303fde835
1 parent
ac231de5
Use sort instead of stable_sort to speed up -eval
Showing
1 changed file
with
1 additions
and
1 deletions
openbr/core/eval.cpp
| ... | ... | @@ -234,7 +234,7 @@ float Evaluate(const Mat &simmat, const Mat &mask, const File &csv, const QStrin |
| 234 | 234 | if (impostorCount == 0) qFatal("No impostor scores!"); |
| 235 | 235 | |
| 236 | 236 | // Sort comparisons by simmat_val (score) |
| 237 | - std::stable_sort(comparisons.begin(), comparisons.end()); | |
| 237 | + std::sort(comparisons.begin(), comparisons.end()); | |
| 238 | 238 | |
| 239 | 239 | QList<OperatingPoint> operatingPoints; |
| 240 | 240 | QList<OperatingPoint> searchOperatingPoints; | ... | ... |