diff options
author | Hauke Heibel <hauke.heibel@gmail.com> | 2010-06-20 18:59:15 +0200 |
---|---|---|
committer | Hauke Heibel <hauke.heibel@gmail.com> | 2010-06-20 18:59:15 +0200 |
commit | cb11f2f8a644acbf9a408e8eef737bec122307a0 (patch) | |
tree | febc2e53cf4ca10309ef0901eadcbd9625f31b32 /test/schur_real.cpp | |
parent | f1679c7185471289afaf702a45e336849d20a81a (diff) |
Fix compilation of some tests as well as more warnings.
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 |