mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 21:20:18 +08:00
Fix for CUDA_Arithm/Dft.Algorithm/0 test
This commit is contained in:
parent
252e871a8b
commit
034dc3b0dd
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user