mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Made sure that the data stored in fixed sized tensor is aligned.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user