Commit 85321807 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #8567 from tomoaki0705:fixCbrtVS2012

parents 4d3cef35 c145f28c
......@@ -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