aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/redux.cpp
diff options
context:
space:
mode:
authorGravatar Hauke Heibel <hauke.heibel@gmail.com>2010-06-20 20:16:45 +0200
committerGravatar Hauke Heibel <hauke.heibel@gmail.com>2010-06-20 20:16:45 +0200
commit546b802b77817dd7f5cd3b6781ce1a1ac0f728b5 (patch)
tree24a2df8a9afc6163563cae1b0c3dd828b1165dc4 /test/redux.cpp
parentcb11f2f8a644acbf9a408e8eef737bec122307a0 (diff)
Still fixing warnings.
Diffstat (limited to 'test/redux.cpp')
-rw-r--r--test/redux.cpp3
1 files changed, 2 insertions, 1 deletions
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<typename MatrixType> void matrixRedux(const MatrixType& m)
template<typename VectorType> void vectorRedux(const VectorType& w)
{
+ typedef typename VectorType::Index Index;
typedef typename VectorType::Scalar Scalar;
typedef typename NumTraits<Scalar>::Real RealScalar;
- int size = w.size();
+ Index size = w.size();
VectorType v = VectorType::Random(size);
for(int i = 1; i < size; i++)