mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix compilation of some tests as well as more warnings.
This commit is contained in:
@@ -94,8 +94,8 @@ template<typename MatrixType> 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<Index>(0, std::max<Index>(rows-2,0));
|
||||
Index brows = rows - shift;
|
||||
m1.setRandom(rows, cols);
|
||||
HBlockMatrixType hbm = m1.block(shift,0,brows,cols);
|
||||
HouseholderQR<HBlockMatrixType> qr(hbm);
|
||||
|
||||
Reference in New Issue
Block a user