diff options
author | Gael Guennebaud <g.gael@free.fr> | 2015-07-29 11:11:23 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2015-07-29 11:11:23 +0200 |
commit | aec48143701446e22667549e34509875e42513f9 (patch) | |
tree | f9f4ff66310c1f48e4fbff85a65e7ba2888699d2 /unsupported/Eigen/CXX11/src/Tensor/TensorStriding.h | |
parent | f7d5b9323d357a25c4b8533b1510d391008cb17d (diff) |
Many files were missing in previous changeset.
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorStriding.h')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorStriding.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorStriding.h b/unsupported/Eigen/CXX11/src/Tensor/TensorStriding.h index dd913fbae..97b6168a9 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorStriding.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorStriding.h @@ -200,7 +200,7 @@ struct TensorEvaluator<const TensorStridingOp<Strides, ArgType>, Device> return rslt; } else { - EIGEN_ALIGN_DEFAULT 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) { @@ -308,7 +308,7 @@ struct TensorEvaluator<TensorStridingOp<Strides, ArgType>, Device> this->m_impl.template writePacket<Unaligned>(inputIndices[0], x); } else { - EIGEN_ALIGN_DEFAULT Scalar values[packetSize]; + EIGEN_ALIGN_MAX Scalar values[packetSize]; internal::pstore<Scalar, PacketReturnType>(values, x); this->m_impl.coeffRef(inputIndices[0]) = values[0]; this->m_impl.coeffRef(inputIndices[1]) = values[packetSize-1]; |