mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 06:03:15 +08:00
Merge pull request #6980 from tomoaki0705:fixNanUndeclared2
This commit is contained in:
commit
23fd32056e
@ -1,5 +1,9 @@
|
|||||||
#include "test_precomp.hpp"
|
#include "test_precomp.hpp"
|
||||||
#include <cmath>
|
#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 cv;
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
Loading…
Reference in New Issue
Block a user