From 44df577810d53fa865dfa689f99c934b23365038 Mon Sep 17 00:00:00 2001 From: Josh Klontz Date: Tue, 6 May 2014 09:52:14 -0400 Subject: [PATCH] removed Janus use of C++11 feature. fixed #178 --- openbr/janus | 2 +- openbr/janus.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openbr/janus b/openbr/janus index 8b92f41..50adc73 160000 --- a/openbr/janus +++ b/openbr/janus @@ -1 +1 @@ -Subproject commit 8b92f413569ed1f4aee4cae5f5f09c607be1f0c7 +Subproject commit 50adc738e88f7290ed2598e52a501538a95942c7 diff --git a/openbr/janus.cpp b/openbr/janus.cpp index 9494fcf..9b48574 100644 --- a/openbr/janus.cpp +++ b/openbr/janus.cpp @@ -120,7 +120,7 @@ janus_error janus_verify(const janus_flat_template a, const size_t a_bytes, cons return JANUS_UNKNOWN_ERROR; if (comparisons > 0) *similarity /= comparisons; - else *similarity = std::numeric_limits::lowest(); + else *similarity = -std::numeric_limits::max(); return JANUS_SUCCESS; } -- libgit2 0.21.4