aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/triangular.cpp
diff options
context:
space:
mode:
authorGravatar Hauke Heibel <hauke.heibel@gmail.com>2010-06-20 15:52:34 +0200
committerGravatar Hauke Heibel <hauke.heibel@gmail.com>2010-06-20 15:52:34 +0200
commite402d34407226d9c2c5dfc14ef5d6dbf53ee3c8e (patch)
treebd16ef72ebb99ed858590b1dc2c16174e9a30dd3 /test/triangular.cpp
parent75487088486b7937664904cfb0abf0f8f9c56a26 (diff)
More Index realted warnings.
Diffstat (limited to 'test/triangular.cpp')
-rw-r--r--test/triangular.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/triangular.cpp b/test/triangular.cpp
index 302984eb7..673a3d25f 100644
--- a/test/triangular.cpp
+++ b/test/triangular.cpp
@@ -34,8 +34,8 @@ template<typename MatrixType> void triangular_square(const MatrixType& m)
RealScalar largerEps = 10*test_precision<RealScalar>();
- int rows = m.rows();
- int cols = m.cols();
+ typename MatrixType::Index rows = m.rows();
+ typename MatrixType::Index cols = m.cols();
MatrixType m1 = MatrixType::Random(rows, cols),
m2 = MatrixType::Random(rows, cols),