Commit c145f28c authored by Tomoaki Teshima's avatar Tomoaki Teshima

fix build error on VS2012

parent 4e31eef7
......@@ -2,6 +2,9 @@
#include <cmath>
#include <complex>
#if defined (_MSC_VER) && (_MSC_VER <= 1700)
static inline double cbrt(double x) { return (double)cv::cubeRoot((float)x); };
#endif
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