Fix assert bug in sparseQR

This commit is contained in:
Desire NUENTSA 2013-09-20 18:49:32 +02:00
parent 1b4623e713
commit bd21c82a94

View File

@ -580,7 +580,7 @@ struct SparseQR_QProduct : ReturnByValue<SparseQR_QProduct<SparseQRType, Derived
} }
else 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 // Compute res = Q' * other column by column
for(Index j = 0; j < res.cols(); j++) for(Index j = 0; j < res.cols(); j++)
{ {