1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

Merge pull request #6980 from tomoaki0705:fixNanUndeclared2

This commit is contained in:
Alexander Alekhin
2016-07-25 08:09:18 +00:00
+4
View File
@@ -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;