diff options
author | Hauke Heibel <hauke.heibel@gmail.com> | 2010-06-20 17:37:56 +0200 |
---|---|---|
committer | Hauke Heibel <hauke.heibel@gmail.com> | 2010-06-20 17:37:56 +0200 |
commit | f1679c7185471289afaf702a45e336849d20a81a (patch) | |
tree | 2d6d649c8d0ae0985dfeaae2fdf2da47294264ae /test/stdvector.cpp | |
parent | e402d34407226d9c2c5dfc14ef5d6dbf53ee3c8e (diff) |
Utilize Index in all unit tests.
Diffstat (limited to 'test/stdvector.cpp')
-rw-r--r-- | test/stdvector.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/stdvector.cpp b/test/stdvector.cpp index bdca826f4..b44dadf42 100644 --- a/test/stdvector.cpp +++ b/test/stdvector.cpp @@ -29,8 +29,8 @@ template<typename MatrixType> void check_stdvector_matrix(const MatrixType& m) { - int rows = m.rows(); - int cols = m.cols(); + typename MatrixType::Index rows = m.rows(); + typename MatrixType::Index cols = m.cols(); MatrixType x = MatrixType::Random(rows,cols), y = MatrixType::Random(rows,cols); std::vector<MatrixType,Eigen::aligned_allocator<MatrixType> > v(10, MatrixType(rows,cols)), w(20, y); v[5] = x; |