diff options
author | Gael Guennebaud <g.gael@free.fr> | 2018-07-12 17:16:40 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2018-07-12 17:16:40 +0200 |
commit | 12e1ebb68b93b218a3553af67fee8535d79e857e (patch) | |
tree | bcaaf67b6ac5541f1d2a55357d4796c606fa0a3d /test/swap.cpp | |
parent | 63185be8b240ee1a9ef476af2fc06676d3d89fe0 (diff) |
Remove local Index typedef from unit-tests
Diffstat (limited to 'test/swap.cpp')
-rw-r--r-- | test/swap.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/swap.cpp b/test/swap.cpp index f76e3624d..a294da719 100644 --- a/test/swap.cpp +++ b/test/swap.cpp @@ -28,8 +28,8 @@ template<typename MatrixType> void swap(const MatrixType& m) typedef typename MatrixType::Scalar Scalar; eigen_assert((!internal::is_same<MatrixType,OtherMatrixType>::value)); - typename MatrixType::Index rows = m.rows(); - typename MatrixType::Index cols = m.cols(); + Index rows = m.rows(); + Index cols = m.cols(); // construct 3 matrix guaranteed to be distinct MatrixType m1 = MatrixType::Random(rows,cols); |