From cb11f2f8a644acbf9a408e8eef737bec122307a0 Mon Sep 17 00:00:00 2001 From: Hauke Heibel Date: Sun, 20 Jun 2010 18:59:15 +0200 Subject: Fix compilation of some tests as well as more warnings. --- test/householder.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/householder.cpp') diff --git a/test/householder.cpp b/test/householder.cpp index 94ea5c602..1f22c6c53 100644 --- a/test/householder.cpp +++ b/test/householder.cpp @@ -94,8 +94,8 @@ template void householder(const MatrixType& m) // test householder sequence on the left with a shift - int shift = ei_random(0, std::max(rows-2,0)); - int brows = rows - shift; + Index shift = ei_random(0, std::max(rows-2,0)); + Index brows = rows - shift; m1.setRandom(rows, cols); HBlockMatrixType hbm = m1.block(shift,0,brows,cols); HouseholderQR qr(hbm); -- cgit v1.2.3