From f1679c7185471289afaf702a45e336849d20a81a Mon Sep 17 00:00:00 2001 From: Hauke Heibel Date: Sun, 20 Jun 2010 17:37:56 +0200 Subject: Utilize Index in all unit tests. --- unsupported/Eigen/AlignedVector3 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'unsupported/Eigen/AlignedVector3') diff --git a/unsupported/Eigen/AlignedVector3 b/unsupported/Eigen/AlignedVector3 index 6e9772cf5..7efe4ac21 100644 --- a/unsupported/Eigen/AlignedVector3 +++ b/unsupported/Eigen/AlignedVector3 @@ -68,19 +68,19 @@ template class AlignedVector3 EIGEN_DENSE_PUBLIC_INTERFACE(AlignedVector3) using Base::operator*; - inline int rows() const { return 3; } - inline int cols() const { return 1; } + inline Index rows() const { return 3; } + inline Index cols() const { return 1; } - inline const Scalar& coeff(int row, int col) const + inline const Scalar& coeff(Index row, Index col) const { return m_coeffs.coeff(row, col); } - inline Scalar& coeffRef(int row, int col) + inline Scalar& coeffRef(Index row, Index col) { return m_coeffs.coeffRef(row, col); } - inline const Scalar& coeff(int index) const + inline const Scalar& coeff(Index index) const { return m_coeffs.coeff(index); } - inline Scalar& coeffRef(int index) + inline Scalar& coeffRef(Index index) { return m_coeffs.coeffRef(index);} -- cgit v1.2.3