From c630593449a3dd973e0ebea3c70ee75303fde835 Mon Sep 17 00:00:00 2001 From: Ben Klein Date: Wed, 16 Sep 2015 13:43:18 -0400 Subject: [PATCH] Use sort instead of stable_sort to speed up -eval --- openbr/core/eval.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbr/core/eval.cpp b/openbr/core/eval.cpp index c155df9..d847fa3 100755 --- a/openbr/core/eval.cpp +++ b/openbr/core/eval.cpp @@ -234,7 +234,7 @@ float Evaluate(const Mat &simmat, const Mat &mask, const File &csv, const QStrin if (impostorCount == 0) qFatal("No impostor scores!"); // Sort comparisons by simmat_val (score) - std::stable_sort(comparisons.begin(), comparisons.end()); + std::sort(comparisons.begin(), comparisons.end()); QList operatingPoints; QList searchOperatingPoints; -- libgit2 0.21.4