aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/real_qz.cpp
diff options
context:
space:
mode:
authorGravatar Christoph Hertzberg <chtz@informatik.uni-bremen.de>2015-03-31 00:42:14 +0200
committerGravatar Christoph Hertzberg <chtz@informatik.uni-bremen.de>2015-03-31 00:42:14 +0200
commit3238ca6abcce0f26035629aebe4e9018079a6917 (patch)
tree323b1e581cdc7a8503423adabd1beeb3d60501b5 /test/real_qz.cpp
parent1efae98feed340e8b33dc40cab36aeb15836a792 (diff)
Addendum to last patch: k is Index and not int
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;