Still fixing warnings.

This commit is contained in:
Hauke Heibel
2010-06-20 20:16:45 +02:00
parent cb11f2f8a6
commit 546b802b77
5 changed files with 14 additions and 12 deletions

View File

@@ -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++)