From 70dcd107d08a2e6bf80a4b625c12df7533b8d211 Mon Sep 17 00:00:00 2001 From: Tomoaki Teshima Date: Sun, 24 Jul 2016 23:34:12 +0900 Subject: [PATCH] follow the comment * test build on VS2012 --- modules/core/test/test_arithm.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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));