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)));