From f6ae8cdf434ddb9365c1209cf962e0edaa049798 Mon Sep 17 00:00:00 2001 From: Ben Klein Date: Fri, 31 Oct 2014 14:30:11 -0400 Subject: [PATCH] Update eval.cpp --- openbr/core/eval.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/openbr/core/eval.cpp b/openbr/core/eval.cpp index 7410f68..8f5d242 100755 --- a/openbr/core/eval.cpp +++ b/openbr/core/eval.cpp @@ -313,9 +313,7 @@ float Evaluate(const Mat &simmat, const Mat &mask, const QString &csv, const QSt // Attempt to read template size from enrolled gallery and write to output CSV size_t maxSize(0); if (target.endsWith(".gal")) { - foreach (const Template &t, TemplateList::fromGallery(target)) { - maxSize = max(maxSize, t.bytes()); - } + foreach (const Template &t, TemplateList::fromGallery(target)) maxSize = max(maxSize, t.bytes()); } lines.append(QString("TS,,%1").arg(QString::number(maxSize))); -- libgit2 0.21.4