Commit 44df577810d53fa865dfa689f99c934b23365038

Authored by Josh Klontz
1 parent bd736b99

removed Janus use of C++11 feature. fixed #178

1   -Subproject commit 8b92f413569ed1f4aee4cae5f5f09c607be1f0c7
  1 +Subproject commit 50adc738e88f7290ed2598e52a501538a95942c7
... ...
openbr/janus.cpp
... ... @@ -120,7 +120,7 @@ janus_error janus_verify(const janus_flat_template a, const size_t a_bytes, cons
120 120 return JANUS_UNKNOWN_ERROR;
121 121  
122 122 if (comparisons > 0) *similarity /= comparisons;
123   - else *similarity = std::numeric_limits<double>::lowest();
  123 + else *similarity = -std::numeric_limits<double>::max();
124 124 return JANUS_SUCCESS;
125 125 }
126 126  
... ...