This bugzilla service is closed. All entries have been migrated to https://gitlab.com/libeigen/eigen
View | Details | Raw Unified | Return to bug 706 | Differences between
and this patch

Collapse All | Expand All

(-)SparseQR_old.h (-2 / +2 lines)
Lines 353-359 Link Here
353
    // all the nodes (with indexes lower than rank) reachable through the column elimination tree (etree) rooted at node k.
353
    // all the nodes (with indexes lower than rank) reachable through the column elimination tree (etree) rooted at node k.
354
    // Note: if the diagonal entry does not exist, then its contribution must be explicitly added,
354
    // Note: if the diagonal entry does not exist, then its contribution must be explicitly added,
355
    // thus the trick with found_diag that permits to do one more iteration on the diagonal element if this one has not been found.
355
    // thus the trick with found_diag that permits to do one more iteration on the diagonal element if this one has not been found.
356
    for (typename MatrixType::InnerIterator itp(m_pmat, col); itp || !found_diag; ++itp)
356
    for (typename QRMatrixType::InnerIterator itp(m_pmat, col); itp || !found_diag; ++itp)
357
    {
357
    {
358
      Index curIdx = nonzeroCol ;
358
      Index curIdx = nonzeroCol ;
359
      if(itp) curIdx = itp.row();
359
      if(itp) curIdx = itp.row();
Lines 504-510 Link Here
504
  if(nonzeroCol<n)
504
  if(nonzeroCol<n)
505
  {
505
  {
506
    // Permute the triangular factor to put the 'dead' columns to the end
506
    // Permute the triangular factor to put the 'dead' columns to the end
507
    MatrixType tempR(m_R);
507
    QRMatrixType tempR(m_R);
508
    m_R = tempR * m_pivotperm;
508
    m_R = tempR * m_pivotperm;
509
509
510
    // Update the column permutation
510
    // Update the column permutation

Return to bug 706