From: vbystricky Date: Mon, 11 Aug 2014 11:57:29 +0000 (+0400) Subject: Restore OpenCL branch for minmaxLoc on float data X-Git-Tag: submit/tizen_ivi/20141117.190038~2^2~196^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dfe5fff2f5bd6d68eb1a912832ed1cb9004e28da;p=profile%2Fivi%2Fopencv.git Restore OpenCL branch for minmaxLoc on float data --- diff --git a/modules/core/src/stat.cpp b/modules/core/src/stat.cpp index 20e8aa5..e42f822 100644 --- a/modules/core/src/stat.cpp +++ b/modules/core/src/stat.cpp @@ -1454,7 +1454,7 @@ static bool ocl_minMaxIdx( InputArray _src, double* minVal, double* maxVal, int* CV_Assert(!haveSrc2 || _src2.type() == type); - if (depth == CV_32S || depth == CV_32F) + if (depth == CV_32S) return false; if ((depth == CV_64F || ddepth == CV_64F) && !doubleSupport)