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

Fix ocl build warnings

This commit is contained in:
Andrey Kamaev
2013-01-24 16:15:34 +04:00
parent 33ca4ba5c7
commit d5b15d6523
3 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -1110,8 +1110,8 @@ TEST_P(Phase, Mat)
for(int j = 0; j < LOOP_TIMES; j++)
{
random_roi();
cv::phase(mat1_roi, mat2_roi, dst_roi, angelInDegrees);
cv::ocl::phase(gmat1, gmat2, gdst, angelInDegrees);
cv::phase(mat1_roi, mat2_roi, dst_roi, angelInDegrees ? true : false);
cv::ocl::phase(gmat1, gmat2, gdst, angelInDegrees ? true : false);
cv::Mat cpu_dst;
gdst_whole.download(cpu_dst);