enabled odd size in DFT_COMPLEX_OUTPUT test
authorVadim Pisarevsky <vadim.pisarevsky@itseez.com>
Thu, 11 Oct 2012 08:27:10 +0000 (12:27 +0400)
committerVadim Pisarevsky <vadim.pisarevsky@itseez.com>
Thu, 11 Oct 2012 08:27:10 +0000 (12:27 +0400)
modules/core/test/test_dxt.cpp

index ff3aa7c..441ce27 100644 (file)
@@ -838,8 +838,8 @@ protected:
         RNG& rng = theRNG();
         for( int i = 0; i < 10; i++ )
         {
-            int m = rng.uniform(2, 11) & -2;
-            int n = rng.uniform(2, 11) & -2;
+            int m = rng.uniform(2, 11);
+            int n = rng.uniform(2, 11);
             int depth = rng.uniform(0, 2) + CV_32F;
             Mat src8u(m, n, depth), src(m, n, depth), dst(m, n, CV_MAKETYPE(depth, 2));
             Mat z = Mat::zeros(m, n, depth), dstz;