aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/MathFunctions.h
diff options
context:
space:
mode:
authorGravatar Hauke Heibel <hauke.heibel@gmail.com>2013-08-10 19:10:23 +0200
committerGravatar Hauke Heibel <hauke.heibel@gmail.com>2013-08-10 19:10:23 +0200
commit097a105603e61eb32856e9b772e5da155b25ba15 (patch)
tree122f08b778f721257314acffc1d47a21ec3e2de6 /Eigen/src/Core/MathFunctions.h
parent306ce33e1c08716005554228dd17138f11a778c0 (diff)
Disabled std::log1p on Cygwin.
Diffstat (limited to 'Eigen/src/Core/MathFunctions.h')
-rw-r--r--Eigen/src/Core/MathFunctions.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/MathFunctions.h b/Eigen/src/Core/MathFunctions.h
index 454f9ce52..fc1af1a5d 100644
--- a/Eigen/src/Core/MathFunctions.h
+++ b/Eigen/src/Core/MathFunctions.h
@@ -338,7 +338,7 @@ struct atanh2_impl
static inline Scalar run(const Scalar& x, const Scalar& r)
{
EIGEN_STATIC_ASSERT_NON_INTEGER(Scalar)
- #if __cplusplus >= 201103L
+ #if (__cplusplus >= 201103L) && !defined(__CYGWIN__)
using std::log1p;
return log1p(2 * x / (r - x)) / 2;
#else