mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-10-20 20:11:07 +08:00
fix complexqz Wpedantic warnings
This commit is contained in:
parent
db02f97850
commit
d426838d01
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user