aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/CXX11/src/Tensor/TensorPatch.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/TensorPatch.h
parentf7d5b9323d357a25c4b8533b1510d391008cb17d (diff)
Many files were missing in previous changeset.
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorPatch.h')
-rw-r--r--unsupported/Eigen/CXX11/src/Tensor/TensorPatch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorPatch.h b/unsupported/Eigen/CXX11/src/Tensor/TensorPatch.h
index 513f1e83f..8fb53f4f2 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorPatch.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorPatch.h
@@ -236,7 +236,7 @@ struct TensorEvaluator<const TensorPatchOp<PatchDim, ArgType>, Device>
return rslt;
}
else {
- EIGEN_ALIGN_DEFAULT CoeffReturnType values[packetSize];
+ EIGEN_ALIGN_MAX CoeffReturnType 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) {