Merge pull request #6980 from tomoaki0705:fixNanUndeclared2
This commit is contained in:
commit
23fd32056e
@ -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…
Reference in New Issue
Block a user