From a9599990f09e2410b29a39b03b65085940aacb11 Mon Sep 17 00:00:00 2001 From: Vlad Shakhuro Date: Thu, 3 Jul 2014 08:32:54 +0400 Subject: [PATCH] Fix typo --- modules/xobjdetect/src/stump.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/xobjdetect/src/stump.cpp b/modules/xobjdetect/src/stump.cpp index 6c63fd840..cba594d5f 100644 --- a/modules/xobjdetect/src/stump.cpp +++ b/modules/xobjdetect/src/stump.cpp @@ -124,7 +124,7 @@ int Stump::train(const Mat& data, const Mat& labels, const Mat& weights) float neg_total_weight = neg_cum_weights.at(0, weights.cols - 1); - float eps = 1.0f / 4 * labels.cols; + float eps = 1.0f / (4 * labels.cols); /* Compute minimal error */ float min_err = FLT_MAX;