diff options
author | Gael Guennebaud <g.gael@free.fr> | 2013-06-25 11:42:04 +0200 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2013-06-25 11:42:04 +0200 |
commit | 95f8a738ea23cf7d6f86ca99eddb5b22045c7f4b (patch) | |
tree | 3da2bd15b9159ad1aa37c9995eb651c3a0e5e688 /Eigen/src/SVD/JacobiSVD.h | |
parent | 4cc937794117a27c7a1d2643fdadd242dc83359a (diff) |
Introduce a TEST_SET_BUT_UNUSED_VARIABLE macro for initialized but unused variables in the unit tests and also fix a few other warnings.
Diffstat (limited to 'Eigen/src/SVD/JacobiSVD.h')
-rw-r--r-- | Eigen/src/SVD/JacobiSVD.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Eigen/src/SVD/JacobiSVD.h b/Eigen/src/SVD/JacobiSVD.h index 8e2f99b6b..4786768ff 100644 --- a/Eigen/src/SVD/JacobiSVD.h +++ b/Eigen/src/SVD/JacobiSVD.h @@ -851,7 +851,6 @@ struct solve_retval<JacobiSVD<_MatrixType, QRPreconditioner>, Rhs> // So A^{-1} = V S^{-1} U^* Matrix<Scalar, Dynamic, Rhs::ColsAtCompileTime, 0, _MatrixType::MaxRowsAtCompileTime, Rhs::MaxColsAtCompileTime> tmp; - Index diagSize = (std::min)(dec().rows(), dec().cols()); Index nonzeroSingVals = dec().nonzeroSingularValues(); tmp.noalias() = dec().matrixU().leftCols(nonzeroSingVals).adjoint() * rhs(); |