aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/CXX11/src/Tensor/Tensor.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2015-07-29 11:11:23 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2015-07-29 11:11:23 +0200
commitaec48143701446e22667549e34509875e42513f9 (patch)
treef9f4ff66310c1f48e4fbff85a65e7ba2888699d2 /unsupported/Eigen/CXX11/src/Tensor/Tensor.h
parentf7d5b9323d357a25c4b8533b1510d391008cb17d (diff)
Many files were missing in previous changeset.
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/Tensor.h')
-rw-r--r--unsupported/Eigen/CXX11/src/Tensor/Tensor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/Tensor.h b/unsupported/Eigen/CXX11/src/Tensor/Tensor.h
index 32936d4be..6c16e0faa 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/Tensor.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/Tensor.h
@@ -75,7 +75,7 @@ class Tensor : public TensorBase<Tensor<Scalar_, NumIndices_, Options_, IndexTyp
typedef typename Base::PacketReturnType PacketReturnType;
enum {
- IsAligned = bool(EIGEN_ALIGN) & !(Options_&DontAlign),
+ IsAligned = bool(EIGEN_MAX_ALIGN_BYTES>0) & !(Options_&DontAlign),
PacketAccess = (internal::packet_traits<Scalar>::size > 1),
Layout = Options_ & RowMajor ? RowMajor : ColMajor,
CoordAccess = true,