diff options
author | 2015-12-18 14:36:35 -0800 | |
---|---|---|
committer | 2015-12-18 14:36:35 -0800 | |
commit | 1b829695598a823fe3d9132d35ccdbb6e176c47e (patch) | |
tree | 352b3e5f18592250a49cbedeba668bf3979d9ca8 /unsupported/Eigen/CXX11/src/Tensor | |
parent | 75a7fa1919af749ba79a2b70c542320707837f61 (diff) |
Add alignment requirement for local buffer used by the slicing op.
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h b/unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h index bdc86e0fa..d8c923d74 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h @@ -443,7 +443,7 @@ struct TensorEvaluator<const TensorSlicingOp<StartIndices, Sizes, ArgType>, Devi return rslt; } else { - typename internal::remove_const<CoeffReturnType>::type values[packetSize]; + EIGEN_ALIGN_MAX typename internal::remove_const<CoeffReturnType>::type values[packetSize]; values[0] = m_impl.coeff(inputIndices[0]); values[packetSize-1] = m_impl.coeff(inputIndices[1]); for (int i = 1; i < packetSize-1; ++i) { |