aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/real_qz.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/real_qz.cpp')
-rw-r--r--test/real_qz.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/real_qz.cpp b/test/real_qz.cpp
index 555dcbcb4..a1766c6d9 100644
--- a/test/real_qz.cpp
+++ b/test/real_qz.cpp
@@ -27,7 +27,7 @@ template<typename MatrixType> void real_qz(const MatrixType& m)
// Regression test for bug 985: Randomly set rows or columns to zero
- Index k=internal::random<int>(0, dim-1);
+ Index k=internal::random<Index>(0, dim-1);
switch(internal::random<int>(0,10)) {
case 0:
A.row(k).setZero(); break;