Fix for CUDA_Arithm/Dft.Algorithm/0 test

This commit is contained in:
Namgoo Lee 2018-02-14 09:54:13 +09:00
parent 252e871a8b
commit 034dc3b0dd

View File

@ -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<cv::cuda::DFT> dft = cv::cuda::createDFT(cv::Size(cols, rows), flags);
for (int i = 0; i < 5; ++i)