From 546b802b77817dd7f5cd3b6781ce1a1ac0f728b5 Mon Sep 17 00:00:00 2001 From: Hauke Heibel Date: Sun, 20 Jun 2010 20:16:45 +0200 Subject: Still fixing warnings. --- test/redux.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/redux.cpp') diff --git a/test/redux.cpp b/test/redux.cpp index 385174831..bcc435d0e 100644 --- a/test/redux.cpp +++ b/test/redux.cpp @@ -68,9 +68,10 @@ template void matrixRedux(const MatrixType& m) template void vectorRedux(const VectorType& w) { + typedef typename VectorType::Index Index; typedef typename VectorType::Scalar Scalar; typedef typename NumTraits::Real RealScalar; - int size = w.size(); + Index size = w.size(); VectorType v = VectorType::Random(size); for(int i = 1; i < size; i++) -- cgit v1.2.3