Forward declaring std::array does not work with all std libs, so let's just include <array>

This commit is contained in:
Gael Guennebaud
2018-07-13 13:06:44 +02:00
parent 3875fb05aa
commit 86d9c0255c
2 changed files with 4 additions and 7 deletions

View File

@@ -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>