Commit 721e294a8128cd1cb16b666aa45e00db0c6adc2b

Authored by sklum
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 56  
57 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 59 if ((a.m().size != b.m().size) ||
62 60 (a.m().type() != b.m().type()))
63 61 return -std::numeric_limits<float>::max();
... ...