mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-22 12:37:35 +08:00
fix typo
This commit is contained in:
parent
c747cde69a
commit
4ca3e48f42
@ -540,10 +540,12 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Does the compiler support type_traits?
|
// Does the compiler support type_traits?
|
||||||
|
// - full support of type traits was added only to GCC 5.1.0.
|
||||||
|
// - 20150626 corresponds to the last release of 4.x libstdc++
|
||||||
#ifndef EIGEN_HAS_TYPE_TRAITS
|
#ifndef EIGEN_HAS_TYPE_TRAITS
|
||||||
#if EIGEN_MAX_CPP_VER>=11 && (EIGEN_HAS_CXX11 || EIGEN_COMP_MSVC >= 1700) \
|
#if EIGEN_MAX_CPP_VER>=11 && (EIGEN_HAS_CXX11 || EIGEN_COMP_MSVC >= 1700) \
|
||||||
&& ((!EIGEN_COMP_GNUC_STRICT) || EIGEN_GNUC_AT_LEAST(5, 1)) \ // Full support of type traits was added only to GCC 5.1.0.
|
&& ((!EIGEN_COMP_GNUC_STRICT) || EIGEN_GNUC_AT_LEAST(5, 1)) \
|
||||||
&& ((!defined(__GLIBCXX__)) || __GLIBCXX__ > 20150626) // The last release of 4.x libstdc++
|
&& ((!defined(__GLIBCXX__)) || __GLIBCXX__ > 20150626)
|
||||||
#define EIGEN_HAS_TYPE_TRAITS 1
|
#define EIGEN_HAS_TYPE_TRAITS 1
|
||||||
#define EIGEN_INCLUDE_TYPE_TRAITS
|
#define EIGEN_INCLUDE_TYPE_TRAITS
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user