mirror of https://github.com/davisking/dlib.git
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
This commit is contained in:
parent
260c893c7f
commit
24fcd5c595
|
@ -20,7 +20,7 @@ namespace dlib
|
|||
_index1(0),
|
||||
_index2(0)
|
||||
{
|
||||
_distance = std::numeric_limits<float>::max();
|
||||
_distance = std::numeric_limits<float>::infinity();
|
||||
}
|
||||
|
||||
sample_pair (
|
||||
|
|
Loading…
Reference in New Issue