fix complexqz Wpedantic warnings

This commit is contained in:
Charles Schlosser 2025-10-15 15:12:33 +00:00 committed by Rasmus Munk Larsen
parent db02f97850
commit d426838d01

View File

@ -615,7 +615,7 @@ void ComplexQZ<MatrixType_>::push_down_zero_ST(Index k, Index l) {
m_T(l, l) = Scalar(0);
m_S(l, l - 1) = Scalar(0);
}
};
}
/** \internal Computes vector L1 norms of S and T when in Hessenberg-Triangular form already */
template <typename MatrixType_>
@ -627,7 +627,7 @@ void ComplexQZ<MatrixType_>::computeNorms() {
m_normOfS += m_S.col(j).segment(0, (std::min)(size, j + 2)).cwiseAbs().sum();
m_normOfT += m_T.row(j).segment(j, size - j).cwiseAbs().sum();
}
};
}
/** \internal Look for single small sub-diagonal element S(res, res-1) and return res (or 0). Copied from Eigen3 RealQZ
* implementation */