From 034dc3b0dd6993cb2061e0f1f9107d3dcac71e27 Mon Sep 17 00:00:00 2001 From: Namgoo Lee Date: Wed, 14 Feb 2018 09:54:13 +0900 Subject: [PATCH] Fix for CUDA_Arithm/Dft.Algorithm/0 test --- modules/cudaarithm/test/test_arithm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/cudaarithm/test/test_arithm.cpp b/modules/cudaarithm/test/test_arithm.cpp index c7076387a0..9ee10b6532 100644 --- a/modules/cudaarithm/test/test_arithm.cpp +++ b/modules/cudaarithm/test/test_arithm.cpp @@ -253,7 +253,7 @@ CUDA_TEST_P(Dft, Algorithm) int cols = randomInt(2, 100); int rows = randomInt(2, 100); - int flags = 0; + int flags = 0 | DFT_COMPLEX_INPUT; cv::Ptr dft = cv::cuda::createDFT(cv::Size(cols, rows), flags); for (int i = 0; i < 5; ++i)