summaryrefslogtreecommitdiffhomepage
path: root/eigen/test/block.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'eigen/test/block.cpp')
-rw-r--r--eigen/test/block.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/eigen/test/block.cpp b/eigen/test/block.cpp
index f64bdae..ca9c21f 100644
--- a/eigen/test/block.cpp
+++ b/eigen/test/block.cpp
@@ -32,7 +32,6 @@ block_real_only(const MatrixType &, Index, Index, Index, Index, const Scalar&) {
template<typename MatrixType> void block(const MatrixType& m)
{
- typedef typename MatrixType::Index Index;
typedef typename MatrixType::Scalar Scalar;
typedef typename MatrixType::RealScalar RealScalar;
typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType;
@@ -207,7 +206,6 @@ template<typename MatrixType> void block(const MatrixType& m)
template<typename MatrixType>
void compare_using_data_and_stride(const MatrixType& m)
{
- typedef typename MatrixType::Index Index;
Index rows = m.rows();
Index cols = m.cols();
Index size = m.size();
@@ -241,7 +239,6 @@ void compare_using_data_and_stride(const MatrixType& m)
template<typename MatrixType>
void data_and_stride(const MatrixType& m)
{
- typedef typename MatrixType::Index Index;
Index rows = m.rows();
Index cols = m.cols();