mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-09-24 23:33:13 +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())
|
(m*m.adjoint())
|
||||||
.template marked<SelfAdjoint>()
|
.template marked<SelfAdjoint>()
|
||||||
.eigenvalues()
|
.eigenvalues()
|
||||||
.cwiseAbs()
|
|
||||||
.maxCoeff()
|
.maxCoeff()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user