aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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);