fix ocl/match_template compiling error on Linux
This commit is contained in:
parent
6bc060fddb
commit
fa78459c56
@ -105,7 +105,7 @@ namespace cv { namespace ocl
|
||||
if (depth == CV_8U) return 300;
|
||||
break;
|
||||
case CV_TM_SQDIFF:
|
||||
if (depth == CV_32F) return MAXSHORT; // do naive SQDIFF for CV_32F
|
||||
if (depth == CV_32F) return 0x7fffffff; // do naive SQDIFF for CV_32F
|
||||
if (depth == CV_8U) return 300;
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user