aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/jacobisvd.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/jacobisvd.cpp
parent7e04d7db029866eab0ff7c2a752edb2905bff61f (diff)
Clean source code and unit tests with respect to -Wunused-local-typedefs
Diffstat (limited to 'test/jacobisvd.cpp')
-rw-r--r--test/jacobisvd.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/jacobisvd.cpp b/test/jacobisvd.cpp
index f6c567829..26da05037 100644
--- a/test/jacobisvd.cpp
+++ b/test/jacobisvd.cpp
@@ -27,11 +27,8 @@ void jacobisvd_check_full(const MatrixType& m, const JacobiSVD<MatrixType, QRPre
};
typedef typename MatrixType::Scalar Scalar;
- typedef typename NumTraits<Scalar>::Real RealScalar;
typedef Matrix<Scalar, RowsAtCompileTime, RowsAtCompileTime> MatrixUType;
typedef Matrix<Scalar, ColsAtCompileTime, ColsAtCompileTime> MatrixVType;
- typedef Matrix<Scalar, RowsAtCompileTime, 1> ColVectorType;
- typedef Matrix<Scalar, ColsAtCompileTime, 1> InputVectorType;
MatrixType sigma = MatrixType::Zero(rows,cols);
sigma.diagonal() = svd.singularValues().template cast<Scalar>();