From e2d6a3abe599f3fc24756e984cd75fbdf7e0d82b Mon Sep 17 00:00:00 2001 From: Bahram Dahi Date: Fri, 24 May 2013 18:44:03 -0400 Subject: [PATCH] Added spacing in a nested template argument list. --- modules/objdetect/src/hog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/objdetect/src/hog.cpp b/modules/objdetect/src/hog.cpp index 9e5fd1b..7287d57 100644 --- a/modules/objdetect/src/hog.cpp +++ b/modules/objdetect/src/hog.cpp @@ -2646,7 +2646,7 @@ void HOGDescriptor::groupRectangles(vector& rectList, vector& vector labels; int nclasses = partition(rectList, labels, SimilarRects(eps)); - vector> rrects(nclasses); + vector > rrects(nclasses); vector numInClass(nclasses, 0); vector foundWeights(nclasses, DBL_MIN); vector totalFactorsPerClass(nclasses, 1); @@ -2667,7 +2667,7 @@ void HOGDescriptor::groupRectangles(vector& rectList, vector& { // find the average of all ROI in the cluster cv::Rect_ r = rrects[i]; - float s = 1.f/numInClass[i]; + double s = 1.0/numInClass[i]; rrects[i] = cv::Rect_(cv::saturate_cast(r.x*s), cv::saturate_cast(r.y*s), cv::saturate_cast(r.width*s), -- 2.7.4