aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/array_for_matrix.cpp
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2013-04-10 22:27:35 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2013-04-10 22:27:35 +0200
commit899c0c2b6c723b4b6e324fd8c157e53039c54f67 (patch)
tree3ec9470328f8597a03f3ac8a33d3c12c04c0a326 /test/array_for_matrix.cpp
parent7e04d7db029866eab0ff7c2a752edb2905bff61f (diff)
Clean source code and unit tests with respect to -Wunused-local-typedefs
Diffstat (limited to 'test/array_for_matrix.cpp')
-rw-r--r--test/array_for_matrix.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/array_for_matrix.cpp b/test/array_for_matrix.cpp
index d832832e6..99cda1ffe 100644
--- a/test/array_for_matrix.cpp
+++ b/test/array_for_matrix.cpp
@@ -13,7 +13,6 @@ template<typename MatrixType> void array_for_matrix(const MatrixType& m)
{
typedef typename MatrixType::Index Index;
typedef typename MatrixType::Scalar Scalar;
- typedef typename NumTraits<Scalar>::Real RealScalar;
typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> ColVectorType;
typedef Matrix<Scalar, 1, MatrixType::ColsAtCompileTime> RowVectorType;
@@ -77,7 +76,6 @@ template<typename MatrixType> void comparisons(const MatrixType& m)
typedef typename MatrixType::Index Index;
typedef typename MatrixType::Scalar Scalar;
typedef typename NumTraits<Scalar>::Real RealScalar;
- typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType;
Index rows = m.rows();
Index cols = m.cols();