Commit 721e294a8128cd1cb16b666aa45e00db0c6adc2b
1 parent
97156d76
FTO flag check is prohibitively time consuming
Showing
1 changed file
with
0 additions
and
2 deletions
openbr/plugins/distance.cpp
| @@ -56,8 +56,6 @@ private: | @@ -56,8 +56,6 @@ private: | ||
| 56 | 56 | ||
| 57 | float compare(const Template &a, const Template &b) const | 57 | float compare(const Template &a, const Template &b) const |
| 58 | { | 58 | { |
| 59 | - if (a.file.getBool("FTO") || b.file.getBool("FTO")) return -std::numeric_limits<float>::max(); | ||
| 60 | - | ||
| 61 | if ((a.m().size != b.m().size) || | 59 | if ((a.m().size != b.m().size) || |
| 62 | (a.m().type() != b.m().type())) | 60 | (a.m().type() != b.m().type())) |
| 63 | return -std::numeric_limits<float>::max(); | 61 | return -std::numeric_limits<float>::max(); |