diff options
author | 2010-06-24 15:13:41 +0200 | |
---|---|---|
committer | 2010-06-24 15:13:41 +0200 | |
commit | 19f2f53e2c6cac602be479dae84837ab539329ce (patch) | |
tree | 3d6a540eabc3a7abc7ff709eec9fe5e8c2a34b85 /Eigen/src/Householder/BlockHouseholder.h | |
parent | d44fce501bf299692d578349b92c899c3f0d79cd (diff) |
fix compilation when default to row major
Diffstat (limited to 'Eigen/src/Householder/BlockHouseholder.h')
-rw-r--r-- | Eigen/src/Householder/BlockHouseholder.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Eigen/src/Householder/BlockHouseholder.h b/Eigen/src/Householder/BlockHouseholder.h index c17ca10e0..60da512e1 100644 --- a/Eigen/src/Householder/BlockHouseholder.h +++ b/Eigen/src/Householder/BlockHouseholder.h @@ -66,7 +66,8 @@ void ei_apply_block_householder_on_the_left(MatrixType& mat, const VectorsType& const TriangularView<VectorsType, UnitLower>& V(vectors); // A -= V T V^* A - Matrix<typename MatrixType::Scalar,Dynamic,Dynamic> tmp = V.adjoint() * mat; + Matrix<typename MatrixType::Scalar,VectorsType::ColsAtCompileTime,MatrixType::ColsAtCompileTime,0, + VectorsType::MaxColsAtCompileTime,MatrixType::MaxColsAtCompileTime> tmp = V.adjoint() * mat; // FIXME add .noalias() once the triangular product can work inplace tmp = T.template triangularView<Upper>().adjoint() * tmp; mat.noalias() -= V * tmp; |