Skip to content

Commit 0e8f5f2

Browse files
Intro macro EIGEN_HAS_MAJOR_VERSION_5
1 parent ad4bfd1 commit 0e8f5f2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/TiledArray/external/eigen.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ TILEDARRAY_PRAGMA_GCC(diagnostic pop)
6363
#endif
6464
#endif // EIGEN_USE_LAPACKE || EIGEN_USE_LAPACKE_STRICT
6565

66+
#if EIGEN_VERSION_AT_LEAST(3, 5, 0)
67+
#define EIGEN_HAS_MAJOR_VERSION_5 1
68+
#endif
69+
6670
TILEDARRAY_PRAGMA_GCC(diagnostic pop)
6771

6872
namespace madness {

0 commit comments

Comments
 (0)