mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-02-23 18:20:47 +08:00
since m*m.adjoint() is positive, so are its eigenvalues, so no need for
cwiseAbs()
This commit is contained in:
parent
0444e3601a
commit
3b0523041a
@ -201,7 +201,6 @@ template<typename Derived> struct ei_matrixNorm_selector<Derived, false>
|
||||
(m*m.adjoint())
|
||||
.template marked<SelfAdjoint>()
|
||||
.eigenvalues()
|
||||
.cwiseAbs()
|
||||
.maxCoeff()
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user