"...git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "74d902eb59f873b6156621220937f8e2521dfdc0"
Commit 24fcd5c5 authored by Davis King's avatar Davis King
Browse files

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