aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/QR
diff options
context:
space:
mode:
authorGravatar Rasmus Munk Larsen <rmlarsen@google.com>2016-02-08 08:50:34 -0800
committerGravatar Rasmus Munk Larsen <rmlarsen@google.com>2016-02-08 08:50:34 -0800
commit414efa47d3e37a15ef681f86425778fbf3a09c27 (patch)
treeacb497cc7e618899059f035b5bdcabac73a347a9 /Eigen/src/QR
parent16ec450ca18dac57c2fdd55d134b626056d30e3e (diff)
Add missing calls to tests of COD.
Fix a few mistakes in 3.2 -> 3.3 port.
Diffstat (limited to 'Eigen/src/QR')
-rw-r--r--Eigen/src/QR/CompleteOrthogonalDecomposition.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/QR/CompleteOrthogonalDecomposition.h b/Eigen/src/QR/CompleteOrthogonalDecomposition.h
index b81bb7433..4095e79e5 100644
--- a/Eigen/src/QR/CompleteOrthogonalDecomposition.h
+++ b/Eigen/src/QR/CompleteOrthogonalDecomposition.h
@@ -480,7 +480,7 @@ template <typename _MatrixType>
template <typename RhsType, typename DstType>
void CompleteOrthogonalDecomposition<_MatrixType>::_solve_impl(
const RhsType& rhs, DstType& dst) const {
- eigen_assert(rhs().rows() == this->rows());
+ eigen_assert(rhs.rows() == this->rows());
const Index rank = this->rank();
if (rank == 0) {
@@ -491,7 +491,7 @@ void CompleteOrthogonalDecomposition<_MatrixType>::_solve_impl(
// Compute c = Q^* * rhs
// Note that the matrix Q = H_0^* H_1^*... so its inverse is
// Q^* = (H_0 H_1 ...)^T
- typename RhsType::PlainObject c(rhs());
+ typename RhsType::PlainObject c(rhs);
c.applyOnTheLeft(
householderSequence(matrixQTZ(), hCoeffs()).setLength(rank).transpose());