mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-20 08:39:37 +08:00
Addendum to last patch: k is Index and not int
This commit is contained in:
parent
1efae98fee
commit
3238ca6abc
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user