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/nullary.cpp | |
parent | e402d34407226d9c2c5dfc14ef5d6dbf53ee3c8e (diff) |
Utilize Index in all unit tests.
Diffstat (limited to 'test/nullary.cpp')
-rw-r--r-- | test/nullary.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/nullary.cpp b/test/nullary.cpp index 6e91ddd52..d46349991 100644 --- a/test/nullary.cpp +++ b/test/nullary.cpp @@ -97,8 +97,9 @@ void testVectorType(const VectorType& base) template<typename MatrixType> void testMatrixType(const MatrixType& m) { - const int rows = m.rows(); - const int cols = m.cols(); + typedef typename MatrixType::Index Index; + const Index rows = m.rows(); + const Index cols = m.cols(); MatrixType A; A.setIdentity(rows, cols); |