Commit 891c83ff authored by Tomoaki Teshima's avatar Tomoaki Teshima

fix build error

  * NAN is not defined on some platform
  * follow the comment on PR
parent 1001b05d
#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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment