aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen
diff options
context:
space:
mode:
authorGravatar Hauke Heibel <hauke.heibel@gmail.com>2009-10-14 11:07:11 +0200
committerGravatar Hauke Heibel <hauke.heibel@gmail.com>2009-10-14 11:07:11 +0200
commitf4661e696ec190090ec162aac3832650d6168492 (patch)
tree30eff0fd42bfd537ad26b4d55108f42e94abebfd /Eigen
parent949582c80986c14e200f5ab1cb2752b9779344e4 (diff)
Resize is only defined in Matrix and not in MatrixBase.
I am not sure whether the better fix is to move the resize functions to MatrixBase.
Diffstat (limited to 'Eigen')
-rw-r--r--Eigen/src/QR/HouseholderQR.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/QR/HouseholderQR.h b/Eigen/src/QR/HouseholderQR.h
index 4cc553926..01cd2adb5 100644
--- a/Eigen/src/QR/HouseholderQR.h
+++ b/Eigen/src/QR/HouseholderQR.h
@@ -206,7 +206,7 @@ void HouseholderQR<MatrixType>::solve(
) const
{
ei_assert(m_isInitialized && "HouseholderQR is not initialized.");
- result->resize(m_qr.cols(), b.cols());
+ result->derived().resize(m_qr.cols(), b.cols());
const int rows = m_qr.rows();
const int rank = std::min(m_qr.rows(), m_qr.cols());
ei_assert(b.rows() == rows);