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/jacobisvd.cpp | |
parent | e402d34407226d9c2c5dfc14ef5d6dbf53ee3c8e (diff) |
Utilize Index in all unit tests.
Diffstat (limited to 'test/jacobisvd.cpp')
-rw-r--r-- | test/jacobisvd.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/jacobisvd.cpp b/test/jacobisvd.cpp index bc9d93754..401682e64 100644 --- a/test/jacobisvd.cpp +++ b/test/jacobisvd.cpp @@ -29,8 +29,9 @@ template<typename MatrixType, unsigned int Options> void svd(const MatrixType& m = MatrixType(), bool pickrandom = true) { - int rows = m.rows(); - int cols = m.cols(); + typedef typename MatrixType::Index Index; + Index rows = m.rows(); + Index cols = m.cols(); enum { RowsAtCompileTime = MatrixType::RowsAtCompileTime, |