mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-12 19:20:36 +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)
|
||||
{
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user