Fix MSVC compilation: aligned type must be passed by reference

This commit is contained in:
Gael Guennebaud 2015-03-19 17:28:32 +01:00
parent 61c45d7cfd
commit d6b2f300db

View File

@ -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);
}