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/TensorFunctors.h | |
parent | f7d5b9323d357a25c4b8533b1510d391008cb17d (diff) |
Many files were missing in previous changeset.
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h b/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h index 1a23a9fa0..9f8819720 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorFunctors.h @@ -265,7 +265,7 @@ template <typename T> class UniformRandomGenerator { template<typename Index> typename internal::packet_traits<T>::type packetOp(Index, Index = 0) const { const int packetSize = internal::packet_traits<T>::size; - EIGEN_ALIGN_DEFAULT T values[packetSize]; + EIGEN_ALIGN_MAX T values[packetSize]; for (int i = 0; i < packetSize; ++i) { values[i] = random<T>(); } @@ -298,7 +298,7 @@ template <> class UniformRandomGenerator<float> { template<typename Index> typename internal::packet_traits<float>::type packetOp(Index i, Index j = 0) const { const int packetSize = internal::packet_traits<float>::size; - EIGEN_ALIGN_DEFAULT float values[packetSize]; + EIGEN_ALIGN_MAX float values[packetSize]; for (int k = 0; k < packetSize; ++k) { values[k] = this->operator()(i, j); } @@ -335,7 +335,7 @@ template <> class UniformRandomGenerator<double> { template<typename Index> typename internal::packet_traits<double>::type packetOp(Index i, Index j = 0) const { const int packetSize = internal::packet_traits<double>::size; - EIGEN_ALIGN_DEFAULT double values[packetSize]; + EIGEN_ALIGN_MAX double values[packetSize]; for (int k = 0; k < packetSize; ++k) { values[k] = this->operator()(i, j); } @@ -495,7 +495,7 @@ template <typename T> class NormalRandomGenerator { template<typename Index> typename internal::packet_traits<T>::type packetOp(Index, Index = 0) const { const int packetSize = internal::packet_traits<T>::size; - EIGEN_ALIGN_DEFAULT T values[packetSize]; + EIGEN_ALIGN_MAX T values[packetSize]; for (int i = 0; i < packetSize; ++i) { values[i] = m_distribution(m_generator); } |