Commit cbadb4167b3fc8cfeaa0d06b5fddd935a801d749
1 parent
18984ac6
Unneeded brackets
Showing
1 changed file
with
1 additions
and
2 deletions
openbr/plugins/distance.cpp
| @@ -221,9 +221,8 @@ private: | @@ -221,9 +221,8 @@ private: | ||
| 221 | if (a.size() != b.size()) qFatal("Comparison size mismatch"); | 221 | if (a.size() != b.size()) qFatal("Comparison size mismatch"); |
| 222 | 222 | ||
| 223 | QList<float> scores; | 223 | QList<float> scores; |
| 224 | - for (int i=0; i<distances.size(); i++) { | 224 | + for (int i=0; i<distances.size(); i++) |
| 225 | scores.append(distances[i]->compare(Template(a.file, a[i]),Template(b.file, b[i]))); | 225 | scores.append(distances[i]->compare(Template(a.file, a[i]),Template(b.file, b[i]))); |
| 226 | - } | ||
| 227 | 226 | ||
| 228 | switch (operation) { | 227 | switch (operation) { |
| 229 | case Mean: | 228 | case Mean: |