From e428a0c68116b0260c8747033e60c592dfa32463 Mon Sep 17 00:00:00 2001 From: Alexey Spizhevoy Date: Thu, 16 Feb 2012 12:33:42 +0000 Subject: [PATCH] Fixed a compile-time error --- modules/gpu/test/test_video.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/gpu/test/test_video.cpp b/modules/gpu/test/test_video.cpp index 9cda85111d..a63c4fdcd8 100644 --- a/modules/gpu/test/test_video.cpp +++ b/modules/gpu/test/test_video.cpp @@ -422,12 +422,10 @@ TEST_P(PyrLKOpticalFlowSparse, Accuracy) INSTANTIATE_TEST_CASE_P(Video, PyrLKOpticalFlowSparse, Combine(ALL_DEVICES, Bool())); -#endif // HAVE_CUDA - PARAM_TEST_CASE(FarnebackOpticalFlowTest, cv::gpu::DeviceInfo, double, int, int, bool) { - Mat frame0, frame1; + cv::Mat frame0, frame1; double pyrScale; int polyN; @@ -494,3 +492,5 @@ INSTANTIATE_TEST_CASE_P(Video, FarnebackOpticalFlowTest, Values(5, 7), Values(0, (int)cv::OPTFLOW_FARNEBACK_GAUSSIAN), Values(false, true))); + +#endif // HAVE_CUDA