diff --git a/modules/core/test/test_arithm.cpp b/modules/core/test/test_arithm.cpp index f946b7b8bc..68aa09b0ed 100644 --- a/modules/core/test/test_arithm.cpp +++ b/modules/core/test/test_arithm.cpp @@ -1,4 +1,5 @@ #include "test_precomp.hpp" +#include using namespace cv; using namespace std; @@ -1902,11 +1903,6 @@ TEST(Normalize, regression_5876_inplace_change_type) EXPECT_EQ(0, cvtest::norm(m, result, NORM_INF)); } -#ifndef NAN -#include // numeric_limits::quiet_NaN() -#define NAN std::numeric_limits::quiet_NaN() -#endif - TEST(MinMaxLoc, regression_4955_nans) { cv::Mat one_mat(2, 2, CV_32F, cv::Scalar(1));