Fixed 64bit/Index related warnings in the matrix functions module.

This commit is contained in:
Hauke Heibel
2010-06-15 09:57:41 +02:00
parent 0afb1e80c7
commit e5aa6a466b
3 changed files with 13 additions and 11 deletions

View File

@@ -122,8 +122,8 @@ void randomTest(const MatrixType& m, double tol)
/* this test covers the following files:
Inverse.h
*/
int rows = m.rows();
int cols = m.cols();
MatrixType::Index rows = m.rows();
MatrixType::Index cols = m.cols();
MatrixType m1(rows, cols), m2(rows, cols), m3(rows, cols),
identity = MatrixType::Identity(rows, rows);