diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2010-03-19 02:12:23 -0400 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2010-03-19 02:12:23 -0400 |
commit | 547269da3560518807efe902bce07d22db03e039 (patch) | |
tree | 0977e39381ecb056ddbbd3e34efc76f774df009f /Eigen/src/Householder | |
parent | 9dba86df0b5c1d28a18666003a10f53e59154904 (diff) |
fix the flags and matrix options, to always have the right RowMajor bit in the vector case
Diffstat (limited to 'Eigen/src/Householder')
-rw-r--r-- | Eigen/src/Householder/Householder.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Householder/Householder.h b/Eigen/src/Householder/Householder.h index 3c55e9e9c..12093b78d 100644 --- a/Eigen/src/Householder/Householder.h +++ b/Eigen/src/Householder/Householder.h @@ -96,7 +96,7 @@ void MatrixBase<Derived>::applyHouseholderOnTheLeft( } else { - Map<Matrix<Scalar, 1, Base::ColsAtCompileTime, PlainObject::Options, 1, Base::MaxColsAtCompileTime> > tmp(workspace,cols()); + Map<typename ei_plain_row_type<PlainObject>::type> tmp(workspace,cols()); Block<Derived, EssentialPart::SizeAtCompileTime, Derived::ColsAtCompileTime> bottom(derived(), 1, 0, rows()-1, cols()); tmp.noalias() = essential.adjoint() * bottom; tmp += this->row(0); @@ -118,7 +118,7 @@ void MatrixBase<Derived>::applyHouseholderOnTheRight( } else { - Map<Matrix<Scalar, Base::RowsAtCompileTime, 1, PlainObject::Options, Base::MaxRowsAtCompileTime, 1> > tmp(workspace,rows()); + Map<typename ei_plain_col_type<PlainObject>::type> tmp(workspace,rows()); Block<Derived, Derived::RowsAtCompileTime, EssentialPart::SizeAtCompileTime> right(derived(), 0, 1, rows(), cols()-1); tmp.noalias() = right * essential.conjugate(); tmp += this->col(0); |