Merge pull request #8567 from tomoaki0705:fixCbrtVS2012

This commit is contained in:
Alexander Alekhin 2017-04-12 13:46:09 +00:00
commit 85321807dd

View File

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