mirror of https://github.com/davisking/dlib.git
Fixed a bug in the min and max calculation.
--HG-- extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402358
This commit is contained in:
parent
66b7719fe6
commit
51f45aa8ed
|
@ -37,8 +37,8 @@ namespace dlib
|
|||
sum_sqr = 0;
|
||||
n = 0;
|
||||
maximum_n = std::numeric_limits<T>::max();
|
||||
min_value = std::numeric_limits<T>::max();
|
||||
max_value = std::numeric_limits<T>::min();
|
||||
min_value = std::numeric_limits<T>::infinity();
|
||||
max_value = -std::numeric_limits<T>::infinity();
|
||||
}
|
||||
|
||||
void set_max_n (
|
||||
|
|
Loading…
Reference in New Issue