diff options
author | Gael Guennebaud <g.gael@free.fr> | 2014-09-04 09:15:59 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2014-09-04 09:15:59 +0200 |
commit | 8846aa6d1b68fb0951c70bc339af93b418117ae2 (patch) | |
tree | aee42b8826ec425d91845a7e8b6f8e46ae2aef61 /Eigen/src/QR | |
parent | 80993b95d3be6dbc11b149b253f72d22f41c586e (diff) |
Optimization: enable cache-efficient application of HouseholderSequence.
Diffstat (limited to 'Eigen/src/QR')
-rw-r--r-- | Eigen/src/QR/HouseholderQR.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Eigen/src/QR/HouseholderQR.h b/Eigen/src/QR/HouseholderQR.h index 136e80ce9..8604fff6f 100644 --- a/Eigen/src/QR/HouseholderQR.h +++ b/Eigen/src/QR/HouseholderQR.h @@ -299,8 +299,8 @@ struct householder_qr_inplace_blocked for (k = 0; k < size; k += blockSize) { Index bs = (std::min)(size-k,blockSize); // actual size of the block - Index tcols = cols - k - bs; // trailing columns - Index brows = rows-k; // rows of the block + Index tcols = cols - k - bs; // trailing columns + Index brows = rows-k; // rows of the block // partition the matrix: // A00 | A01 | A02 @@ -318,7 +318,7 @@ struct householder_qr_inplace_blocked if(tcols) { BlockType A21_22 = mat.block(k,k+bs,brows,tcols); - apply_block_householder_on_the_left(A21_22,A11_21,hCoeffsSegment.adjoint()); + apply_block_householder_on_the_left(A21_22,A11_21,hCoeffsSegment, false); // false == backward } } } |