mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-15 07:10:37 +08:00
Made sure that the data stored in fixed sized tensor is aligned.
This commit is contained in:
parent
1f371e78e6
commit
2116e261fb
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user