diff options
author | 2008-07-08 07:56:01 +0000 | |
---|---|---|
committer | 2008-07-08 07:56:01 +0000 | |
commit | 6f09d3a67d333d68e7c971147ec77600e86e93f3 (patch) | |
tree | 36095d2bb12c0b02b9688775f60ee5531d2b0372 /Eigen/src/QR/SelfAdjointEigenSolver.h | |
parent | f5791eeb7054b78ded6eb080e9712651da6c6a34 (diff) |
- many updates after Cwise change
- fix compilation in product.cpp with std::complex
- fix bug in MatrixBase::operator!=
Diffstat (limited to 'Eigen/src/QR/SelfAdjointEigenSolver.h')
-rw-r--r-- | Eigen/src/QR/SelfAdjointEigenSolver.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/QR/SelfAdjointEigenSolver.h b/Eigen/src/QR/SelfAdjointEigenSolver.h index 62d3a38bb..c8386cdda 100644 --- a/Eigen/src/QR/SelfAdjointEigenSolver.h +++ b/Eigen/src/QR/SelfAdjointEigenSolver.h @@ -251,7 +251,7 @@ struct ei_matrixNorm_selector { // FIXME if it is really guaranteed that the eigenvalues are already sorted, // then we don't need to compute a maxCoeff() here, comparing the 1st and last ones is enough. - return m.eigenvalues().cwiseAbs().maxCoeff(); + return m.eigenvalues().cwise().abs().maxCoeff(); } }; |