Fix outer-stride.

This commit is contained in:
Gael Guennebaud 2016-10-12 21:47:52 +02:00
parent 5c366fe1d7
commit 091d373ee9

View File

@ -61,7 +61,7 @@ template<typename _Scalar> class AlignedVector3
Scalar* data() { return m_coeffs.data(); }
const Scalar* data() const { return m_coeffs.data(); }
Index innerStride() const { return 1; }
Index outerStride() const { return m_coeffs.outerStride(); }
Index outerStride() const { return 3; }
inline const Scalar& coeff(Index row, Index col) const
{ return m_coeffs.coeff(row, col); }