Restore OpenCL branch for minmaxLoc on float data

This commit is contained in:
vbystricky 2014-08-11 15:57:29 +04:00
parent 8368d54d36
commit dfe5fff2f5

View File

@ -1454,7 +1454,7 @@ static bool ocl_minMaxIdx( InputArray _src, double* minVal, double* maxVal, int*
CV_Assert(!haveSrc2 || _src2.type() == type); CV_Assert(!haveSrc2 || _src2.type() == type);
if (depth == CV_32S || depth == CV_32F) if (depth == CV_32S)
return false; return false;
if ((depth == CV_64F || ddepth == CV_64F) && !doubleSupport) if ((depth == CV_64F || ddepth == CV_64F) && !doubleSupport)