since m*m.adjoint() is positive, so are its eigenvalues, so no need for

cwiseAbs()
This commit is contained in:
Benoit Jacob 2008-06-02 04:45:02 +00:00
parent 0444e3601a
commit 3b0523041a

View File

@ -201,7 +201,6 @@ template<typename Derived> struct ei_matrixNorm_selector<Derived, false>
(m*m.adjoint()) (m*m.adjoint())
.template marked<SelfAdjoint>() .template marked<SelfAdjoint>()
.eigenvalues() .eigenvalues()
.cwiseAbs()
.maxCoeff() .maxCoeff()
); );
} }