projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e31eef
)
fix build error on VS2012
author
Tomoaki Teshima
<tomoaki.teshima@gmail.com>
Wed, 12 Apr 2017 11:09:00 +0000
(20:09 +0900)
committer
Tomoaki Teshima
<tomoaki.teshima@gmail.com>
Wed, 12 Apr 2017 11:09:00 +0000
(20:09 +0900)
modules/calib3d/src/ap3p.cpp
patch
|
blob
|
history
diff --git
a/modules/calib3d/src/ap3p.cpp
b/modules/calib3d/src/ap3p.cpp
index
ad2841f
..
db88a02
100644
(file)
--- a/
modules/calib3d/src/ap3p.cpp
+++ b/
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;