diff options
Diffstat (limited to 'test/schur_real.cpp')
-rw-r--r-- | test/schur_real.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/schur_real.cpp b/test/schur_real.cpp index 2eae52956..ab1dd1b85 100644 --- a/test/schur_real.cpp +++ b/test/schur_real.cpp @@ -28,7 +28,9 @@ template<typename MatrixType> void verifyIsQuasiTriangular(const MatrixType& T) { - const int size = T.cols(); + typedef typename MatrixType::Index Index; + + const Index size = T.cols(); typedef typename MatrixType::Scalar Scalar; // Check T is lower Hessenberg |