diff options
Diffstat (limited to 'test/triangular.cpp')
-rw-r--r-- | test/triangular.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/triangular.cpp b/test/triangular.cpp index b96856486..d50342ccc 100644 --- a/test/triangular.cpp +++ b/test/triangular.cpp @@ -19,8 +19,8 @@ template<typename MatrixType> void triangular_square(const MatrixType& m) RealScalar largerEps = 10*test_precision<RealScalar>(); - typename MatrixType::Index rows = m.rows(); - typename MatrixType::Index cols = m.cols(); + Index rows = m.rows(); + Index cols = m.cols(); MatrixType m1 = MatrixType::Random(rows, cols), m2 = MatrixType::Random(rows, cols), @@ -134,7 +134,6 @@ template<typename MatrixType> void triangular_square(const MatrixType& m) template<typename MatrixType> void triangular_rect(const MatrixType& m) { - typedef const typename MatrixType::Index Index; typedef typename MatrixType::Scalar Scalar; typedef typename NumTraits<Scalar>::Real RealScalar; enum { Rows = MatrixType::RowsAtCompileTime, Cols = MatrixType::ColsAtCompileTime }; |