Merge pull request #6980 from tomoaki0705:fixNanUndeclared2

pull/6982/head
Alexander Alekhin 9 years ago
commit 23fd32056e
  1. 4
      modules/core/test/test_arithm.cpp

@ -1,5 +1,9 @@
#include "test_precomp.hpp"
#include <cmath>
#ifndef NAN
#include <limits> // numeric_limits<T>::quiet_NaN()
#define NAN std::numeric_limits<float>::quiet_NaN()
#endif
using namespace cv;
using namespace std;

Loading…
Cancel
Save