mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
since m*m.adjoint() is positive, so are its eigenvalues, so no need for
cwiseAbs()
This commit is contained in:
@@ -201,7 +201,6 @@ template<typename Derived> struct ei_matrixNorm_selector<Derived, false>
|
||||
(m*m.adjoint())
|
||||
.template marked<SelfAdjoint>()
|
||||
.eigenvalues()
|
||||
.cwiseAbs()
|
||||
.maxCoeff()
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user