mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-27 07:29:52 +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
|
class TensorStorage
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
T m_data[Size];
|
EIGEN_ALIGN_DEFAULT T m_data[Size];
|
||||||
FixedDimensions m_dimensions;
|
FixedDimensions m_dimensions;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
Loading…
Reference in New Issue
Block a user