diff options
author | 2010-03-19 02:12:23 -0400 | |
---|---|---|
committer | 2010-03-19 02:12:23 -0400 | |
commit | 547269da3560518807efe902bce07d22db03e039 (patch) | |
tree | 0977e39381ecb056ddbbd3e34efc76f774df009f /Eigen/src/LU/FullPivLU.h | |
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/LU/FullPivLU.h')
-rw-r--r-- | Eigen/src/LU/FullPivLU.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/LU/FullPivLU.h b/Eigen/src/LU/FullPivLU.h index 4092567a6..1fe15bfd2 100644 --- a/Eigen/src/LU/FullPivLU.h +++ b/Eigen/src/LU/FullPivLU.h @@ -68,8 +68,8 @@ template<typename _MatrixType> class FullPivLU }; typedef typename MatrixType::Scalar Scalar; typedef typename NumTraits<typename MatrixType::Scalar>::Real RealScalar; - typedef Matrix<int, 1, ColsAtCompileTime, Options, 1, MaxColsAtCompileTime> IntRowVectorType; - typedef Matrix<int, RowsAtCompileTime, 1, Options, MaxRowsAtCompileTime, 1> IntColVectorType; + typedef typename ei_plain_row_type<MatrixType, int>::type IntRowVectorType; + typedef typename ei_plain_col_type<MatrixType, int>::type IntColVectorType; typedef PermutationMatrix<ColsAtCompileTime, MaxColsAtCompileTime> PermutationQType; typedef PermutationMatrix<RowsAtCompileTime, MaxRowsAtCompileTime> PermutationPType; |