Merge pull request #3382 from StevenPuttemans:fix_3982

This commit is contained in:
Vadim Pisarevsky 2014-10-31 11:18:23 +00:00
commit a28cde9c3b

View File

@ -2650,7 +2650,7 @@ void HOGDescriptor::groupRectangles(vector<cv::Rect>& rectList, vector<double>&
vector<cv::Rect_<double> > rrects(nclasses);
vector<int> numInClass(nclasses, 0);
vector<double> foundWeights(nclasses, DBL_MIN);
vector<double> foundWeights(nclasses, -std::numeric_limits<double>::max());
int i, j, nlabels = (int)labels.size();
for( i = 0; i < nlabels; i++ )