Fix assert bug in sparseQR

(grafted from bd21c82a94
)
This commit is contained in:
Desire NUENTSA 2013-09-20 18:49:32 +02:00
parent af74b16b0f
commit 2a0ca0131d

View File

@ -579,7 +579,7 @@ struct SparseQR_QProduct : ReturnByValue<SparseQR_QProduct<SparseQRType, Derived
}
else
{
eigen_assert(m_qr.m_Q.cols() == m_other.rows() && "Non conforming object sizes");
eigen_assert(m_qr.m_Q.rows() == m_other.rows() && "Non conforming object sizes");
// Compute res = Q' * other column by column
for(Index j = 0; j < res.cols(); j++)
{