From 1327789d72b2babeff6e9436067cda9ea8c370e3 Mon Sep 17 00:00:00 2001 From: Alexey Spizhevoy Date: Fri, 21 Jan 2011 08:48:20 +0000 Subject: [PATCH] removed compile warning in GPU module --- tests/gpu/src/bitwise_oper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/gpu/src/bitwise_oper.cpp b/tests/gpu/src/bitwise_oper.cpp index 788b84a..15428d8 100644 --- a/tests/gpu/src/bitwise_oper.cpp +++ b/tests/gpu/src/bitwise_oper.cpp @@ -63,7 +63,7 @@ struct CV_GpuBitwiseTest: public CvTest gpu::hasNativeDoubleSupport(gpu::getDevice()); int depth_end = double_ok ? CV_64F : CV_32F; - for (int depth = CV_8U; depth <= CV_32F; ++depth) + for (int depth = CV_8U; depth <= depth_end; ++depth) for (int cn = 1; cn <= 4; ++cn) for (int attempt = 0; attempt < 3; ++attempt) { -- 2.7.4