mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-05 02:04:07 +08:00
Disabled std::log1p on Cygwin.
This commit is contained in:
parent
306ce33e1c
commit
097a105603
@ -338,7 +338,7 @@ struct atanh2_impl
|
|||||||
static inline Scalar run(const Scalar& x, const Scalar& r)
|
static inline Scalar run(const Scalar& x, const Scalar& r)
|
||||||
{
|
{
|
||||||
EIGEN_STATIC_ASSERT_NON_INTEGER(Scalar)
|
EIGEN_STATIC_ASSERT_NON_INTEGER(Scalar)
|
||||||
#if __cplusplus >= 201103L
|
#if (__cplusplus >= 201103L) && !defined(__CYGWIN__)
|
||||||
using std::log1p;
|
using std::log1p;
|
||||||
return log1p(2 * x / (r - x)) / 2;
|
return log1p(2 * x / (r - x)) / 2;
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user