Fixed a compile-time error
authorAlexey Spizhevoy <no@email>
Thu, 16 Feb 2012 12:33:42 +0000 (12:33 +0000)
committerAlexey Spizhevoy <no@email>
Thu, 16 Feb 2012 12:33:42 +0000 (12:33 +0000)
modules/gpu/test/test_video.cpp

index 9cda851..a63c4fd 100644 (file)
@@ -422,12 +422,10 @@ TEST_P(PyrLKOpticalFlowSparse, Accuracy)
 \r
 INSTANTIATE_TEST_CASE_P(Video, PyrLKOpticalFlowSparse, Combine(ALL_DEVICES, Bool()));\r
 \r
-#endif // HAVE_CUDA\r
-\r
 \r
 PARAM_TEST_CASE(FarnebackOpticalFlowTest, cv::gpu::DeviceInfo, double, int, int, bool)\r
 {\r
-    Mat frame0, frame1;\r
+    cv::Mat frame0, frame1;\r
 \r
     double pyrScale;\r
     int polyN;\r
@@ -494,3 +492,5 @@ INSTANTIATE_TEST_CASE_P(Video, FarnebackOpticalFlowTest,
                                 Values(5, 7),\r
                                 Values(0, (int)cv::OPTFLOW_FARNEBACK_GAUSSIAN),\r
                                 Values(false, true)));\r
+\r
+#endif // HAVE_CUDA\r