diff options
author | Hauke Heibel <hauke.heibel@gmail.com> | 2010-06-20 20:16:45 +0200 |
---|---|---|
committer | Hauke Heibel <hauke.heibel@gmail.com> | 2010-06-20 20:16:45 +0200 |
commit | 546b802b77817dd7f5cd3b6781ce1a1ac0f728b5 (patch) | |
tree | 24a2df8a9afc6163563cae1b0c3dd828b1165dc4 /test/redux.cpp | |
parent | cb11f2f8a644acbf9a408e8eef737bec122307a0 (diff) |
Still fixing warnings.
Diffstat (limited to 'test/redux.cpp')
-rw-r--r-- | test/redux.cpp | 3 |
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++) |