Made sure that the data stored in fixed sized tensor is aligned.

This commit is contained in:
Benoit Steiner 2014-07-25 09:47:59 -07:00
parent 1f371e78e6
commit 2116e261fb

View File

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