Fixed cv::norm accuracy test allowed error
authorAndrey Kamaev <no@email>
Mon, 19 Dec 2011 15:15:40 +0000 (15:15 +0000)
committerAndrey Kamaev <no@email>
Mon, 19 Dec 2011 15:15:40 +0000 (15:15 +0000)
modules/core/test/test_arithm.cpp

index ca0bd2e..7cc1078 100644 (file)
@@ -1246,11 +1246,7 @@ struct NormOp : public BaseElemWiseOp
     }
     double getMaxErr(int)
     {
-#ifdef HAVE_TEGRA_OPTIMIZATION
-               return 2e-6;
-#else
-               return 1e-6;
-#endif
+        return 1e-6;
     }
     int normType;
 };