1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

disabled ocl_minmaxloc on 32-bit data completely

This commit is contained in:
Vadim Pisarevsky
2014-07-28 19:35:06 +04:00
parent 1925fab427
commit af83884dc7
+1 -1
View File
@@ -1452,7 +1452,7 @@ static bool ocl_minMaxIdx( InputArray _src, double* minVal, double* maxVal, int*
CV_Assert(!haveSrc2 || _src2.type() == type);
if (depth == CV_32F)
if (depth == CV_32S || depth == CV_32F)
return false;
if ((depth == CV_64F || ddepth == CV_64F) && !doubleSupport)