Commit 24fcd5c5 authored by Davis King's avatar Davis King

Made the sample_pair have a default distance of infinity instead of

the max floating point value.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403658
parent 260c893c
...@@ -20,7 +20,7 @@ namespace dlib ...@@ -20,7 +20,7 @@ namespace dlib
_index1(0), _index1(0),
_index2(0) _index2(0)
{ {
_distance = std::numeric_limits<float>::max(); _distance = std::numeric_limits<float>::infinity();
} }
sample_pair ( sample_pair (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment