Skip to content

Commit 034dc3b

Browse files
committed
Fix for CUDA_Arithm/Dft.Algorithm/0 test
1 parent 252e871 commit 034dc3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/cudaarithm/test/test_arithm.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ CUDA_TEST_P(Dft, Algorithm)
253253
int cols = randomInt(2, 100);
254254
int rows = randomInt(2, 100);
255255

256-
int flags = 0;
256+
int flags = 0 | DFT_COMPLEX_INPUT;
257257
cv::Ptr<cv::cuda::DFT> dft = cv::cuda::createDFT(cv::Size(cols, rows), flags);
258258

259259
for (int i = 0; i < 5; ++i)

0 commit comments

Comments
 (0)