aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/Core
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2018-07-13 13:06:44 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2018-07-13 13:06:44 +0200
commit86d9c0255c75c340bd03faa1a6ae5fe5c16ccada (patch)
treed7ba9636383ed1a208855b8a3e1a8bf75011fa8b /Eigen/Core
parent3875fb05aaa019c700d68b074e61471a96c85b36 (diff)
Forward declaring std::array does not work with all std libs, so let's just include <array>
Diffstat (limited to 'Eigen/Core')
-rw-r--r--Eigen/Core4
1 files changed, 4 insertions, 0 deletions
diff --git a/Eigen/Core b/Eigen/Core
index fd6edc018..2ab44fb3c 100644
--- a/Eigen/Core
+++ b/Eigen/Core
@@ -80,6 +80,10 @@
// for min/max:
#include <algorithm>
+#if EIGEN_HAS_CXX11
+#include <array>
+#endif
+
// for std::is_nothrow_move_assignable
#ifdef EIGEN_INCLUDE_TYPE_TRAITS
#include <type_traits>