diff options
author | Gael Guennebaud <g.gael@free.fr> | 2015-03-19 17:28:32 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2015-03-19 17:28:32 +0100 |
commit | d6b2f300dbab3f11f6f8bd28558d2b91758ad514 (patch) | |
tree | 8ce887bbe3a8fd0674f9e56bbc1a1fc7729d00df /Eigen/src/Core/util | |
parent | 61c45d7cfd29a161abefd095107b72c75db76ffc (diff) |
Fix MSVC compilation: aligned type must be passed by reference
Diffstat (limited to 'Eigen/src/Core/util')
-rw-r--r-- | Eigen/src/Core/util/BlasUtil.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/util/BlasUtil.h b/Eigen/src/Core/util/BlasUtil.h index 9bfa45106..ffeb5ac5f 100644 --- a/Eigen/src/Core/util/BlasUtil.h +++ b/Eigen/src/Core/util/BlasUtil.h @@ -214,7 +214,7 @@ class blas_data_mapper { } template<typename SubPacket> - EIGEN_ALWAYS_INLINE void scatterPacket(Index i, Index j, SubPacket p) const { + EIGEN_ALWAYS_INLINE void scatterPacket(Index i, Index j, const SubPacket &p) const { pscatter<Scalar, SubPacket>(&operator()(i, j), p, m_stride); } |