fix build error on VS2012

pull/8567/head
Tomoaki Teshima 8 years ago
parent 4e31eef77d
commit c145f28c71
  1. 3
      modules/calib3d/src/ap3p.cpp

@ -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;

Loading…
Cancel
Save