mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-03-25 18:50:40 +08:00
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.
This commit is contained in:
parent
949582c809
commit
f4661e696e
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user