mirror of
https://github.com/opencv/opencv.git
synced 2025-06-12 12:22:51 +08:00
fix build error on VS2012
This commit is contained in:
parent
4e31eef77d
commit
c145f28c71
@ -2,6 +2,9 @@
|
|||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <complex>
|
#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;
|
using namespace std;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user