From e402d34407226d9c2c5dfc14ef5d6dbf53ee3c8e Mon Sep 17 00:00:00 2001 From: Hauke Heibel Date: Sun, 20 Jun 2010 15:52:34 +0200 Subject: More Index realted warnings. --- test/stdvector_overload.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/stdvector_overload.cpp') diff --git a/test/stdvector_overload.cpp b/test/stdvector_overload.cpp index 86f4308ad..898719a26 100644 --- a/test/stdvector_overload.cpp +++ b/test/stdvector_overload.cpp @@ -43,8 +43,8 @@ EIGEN_DEFINE_STL_VECTOR_SPECIALIZATION(Quaterniond) template 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 v(10, MatrixType(rows,cols)), w(20, y); v[5] = x; -- cgit v1.2.3