diff options
author | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2014-07-25 09:47:59 -0700 |
---|---|---|
committer | Benoit Steiner <benoit.steiner.goog@gmail.com> | 2014-07-25 09:47:59 -0700 |
commit | 2116e261fb27c795d153f171467cf7912ff3eec5 (patch) | |
tree | 1d41cc2387fc82c5ffe3c419854c6ea31109c208 /unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h | |
parent | 1f371e78e659d6e5fd781aea93b6b9c7a0604aeb (diff) |
Made sure that the data stored in fixed sized tensor is aligned.
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h b/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h index c9d6517eb..0c4f8a3d6 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h @@ -38,7 +38,7 @@ template<typename T, std::size_t NumIndices_, DenseIndex Size, int Options_, typ class TensorStorage { private: - T m_data[Size]; + EIGEN_ALIGN_DEFAULT T m_data[Size]; FixedDimensions m_dimensions; public: |