aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/qr_fullpivoting.cpp
diff options
context:
space:
mode:
authorGravatar Hauke Heibel <hauke.heibel@gmail.com>2010-06-20 20:16:45 +0200
committerGravatar Hauke Heibel <hauke.heibel@gmail.com>2010-06-20 20:16:45 +0200
commit546b802b77817dd7f5cd3b6781ce1a1ac0f728b5 (patch)
tree24a2df8a9afc6163563cae1b0c3dd828b1165dc4 /test/qr_fullpivoting.cpp
parentcb11f2f8a644acbf9a408e8eef737bec122307a0 (diff)
Still fixing warnings.
Diffstat (limited to 'test/qr_fullpivoting.cpp')
-rw-r--r--test/qr_fullpivoting.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/qr_fullpivoting.cpp b/test/qr_fullpivoting.cpp
index 6f7831c33..490da0d29 100644
--- a/test/qr_fullpivoting.cpp
+++ b/test/qr_fullpivoting.cpp
@@ -30,8 +30,8 @@ template<typename MatrixType> void qr()
{
typedef typename MatrixType::Index Index;
- Index rows = ei_random<int>(20,200), cols = ei_random<int>(20,200), cols2 = ei_random<int>(20,200);
- Index rank = ei_random<int>(1, std::min(rows, cols)-1);
+ Index rows = ei_random<Index>(20,200), cols = ei_random<int>(20,200), cols2 = ei_random<int>(20,200);
+ Index rank = ei_random<Index>(1, std::min(rows, cols)-1);
typedef typename MatrixType::Scalar Scalar;
typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime> MatrixQType;