aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/products
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2014-04-25 22:25:48 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2014-04-25 22:25:48 +0200
commit450d0c3de044c9f32fa2f37fee821f6e390df382 (patch)
tree6b8563d211872e3e126fd7d29502bdc3d78f4d10 /Eigen/src/Core/products
parentf9d2f3903eea91b79a1f0a4ff96d5df544402dcc (diff)
Make sure that calls to broadcast4 are 16 bytes aligned
Diffstat (limited to 'Eigen/src/Core/products')
-rw-r--r--Eigen/src/Core/products/TriangularMatrixMatrix.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Eigen/src/Core/products/TriangularMatrixMatrix.h b/Eigen/src/Core/products/TriangularMatrixMatrix.h
index 62575aff4..8088aa691 100644
--- a/Eigen/src/Core/products/TriangularMatrixMatrix.h
+++ b/Eigen/src/Core/products/TriangularMatrixMatrix.h
@@ -300,6 +300,7 @@ EIGEN_DONT_INLINE void product_triangular_matrix_matrix<Scalar,Index,Mode,false,
Index ts = (IsLower && actual_k2>=cols) ? 0 : actual_kc;
Scalar* geb = blockB+ts*ts;
+ geb = geb + internal::first_aligned(geb,EIGEN_ALIGN_BYTES/sizeof(Scalar));
pack_rhs(geb, &rhs(actual_k2,IsLower ? 0 : k2), rhsStride, actual_kc, rs);