mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-14 04:35:57 +08:00
Use stableNorm in ComplexEigenSolver.
This commit is contained in:
parent
dd71c23e23
commit
0f0c76dc29
@ -292,7 +292,7 @@ void ComplexEigenSolver<MatrixType>::doComputeEigenvectors(RealScalar matrixnorm
|
|||||||
m_eivec.noalias() = m_schur.matrixU() * m_matX;
|
m_eivec.noalias() = m_schur.matrixU() * m_matX;
|
||||||
// .. and normalize the eigenvectors
|
// .. and normalize the eigenvectors
|
||||||
for (Index k = 0; k < n; k++) {
|
for (Index k = 0; k < n; k++) {
|
||||||
m_eivec.col(k).normalize();
|
m_eivec.col(k).stableNormalize();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user