Merged eigen/eigen into default

This commit is contained in:
Konstantinos Margaritis
2016-04-22 15:05:21 +03:00
8 changed files with 30 additions and 8 deletions

View File

@@ -397,6 +397,10 @@ CompleteOrthogonalDecomposition<MatrixType>& CompleteOrthogonalDecomposition<
const Index rank = m_cpqr.rank();
const Index cols = matrix.cols();
const Index rows = matrix.rows();
m_zCoeffs.resize((std::min)(rows, cols));
m_temp.resize(cols);
if (rank < cols) {
// We have reduced the (permuted) matrix to the form
// [R11 R12]