More Index realted warnings.

This commit is contained in:
Hauke Heibel
2010-06-20 15:52:34 +02:00
parent 7548708848
commit e402d34407
7 changed files with 11 additions and 11 deletions

View File

@@ -43,8 +43,8 @@ template<typename MatrixType> void swap(const MatrixType& m)
typedef typename MatrixType::Scalar Scalar;
ei_assert((!ei_is_same_type<MatrixType,OtherMatrixType>::ret));
int rows = m.rows();
int cols = m.cols();
typename MatrixType::Index rows = m.rows();
typename MatrixType::Index cols = m.cols();
// construct 3 matrix guaranteed to be distinct
MatrixType m1 = MatrixType::Random(rows,cols);