diff options
author | Gael Guennebaud <g.gael@free.fr> | 2011-08-23 11:02:10 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2011-08-23 11:02:10 +0200 |
commit | 8414be739b78b2d750be03d41cb5017325f4ae49 (patch) | |
tree | 9c62999cc7e6e4a30acfb0308ccb05a8f3434595 | |
parent | b3f5fbbd9a3a0ca92dff8c16123cdd9838a38fd6 (diff) |
fix bug #330: Index to int conversion warning
-rw-r--r-- | Eigen/src/QR/HouseholderQR.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/QR/HouseholderQR.h b/Eigen/src/QR/HouseholderQR.h index c8a4b17e7..9ee96de26 100644 --- a/Eigen/src/QR/HouseholderQR.h +++ b/Eigen/src/QR/HouseholderQR.h @@ -262,7 +262,7 @@ void householder_qr_inplace_blocked(MatrixQR& mat, HCoeffs& hCoeffs, Index blockSize = (std::min)(maxBlockSize,size); - int k = 0; + Index k = 0; for (k = 0; k < size; k += blockSize) { Index bs = (std::min)(size-k,blockSize); // actual size of the block |