mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-26 06:44:27 +08:00
prevent warning
This commit is contained in:
parent
2577ef90c0
commit
05ed9be639
@ -551,7 +551,7 @@ JacobiSVD<MatrixType, QRPreconditioner>::compute(const MatrixType& matrix, unsig
|
|||||||
|
|
||||||
// currently we stop when we reach precision 2*epsilon as the last bit of precision can require an unreasonable number of iterations,
|
// currently we stop when we reach precision 2*epsilon as the last bit of precision can require an unreasonable number of iterations,
|
||||||
// only worsening the precision of U and V as we accumulate more rotations
|
// only worsening the precision of U and V as we accumulate more rotations
|
||||||
const RealScalar precision = 2 * NumTraits<Scalar>::epsilon();
|
const RealScalar precision = RealScalar(2) * NumTraits<Scalar>::epsilon();
|
||||||
|
|
||||||
/*** step 1. The R-SVD step: we use a QR decomposition to reduce to the case of a square matrix */
|
/*** step 1. The R-SVD step: we use a QR decomposition to reduce to the case of a square matrix */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user