diff options
author | 2013-10-04 00:21:03 +0000 | |
---|---|---|
committer | 2013-10-04 00:21:03 +0000 | |
commit | 3736e00ae719d745fbde5012d8fe9047e85828c3 (patch) | |
tree | 9f0570fac056894c9803c977a7a8fe63d620f4e2 /Eigen/src/Eigen2Support | |
parent | 40f1548b32671ed27b3a7d02ea64c2291a34443f (diff) |
Silence unused variable warning.
Diffstat (limited to 'Eigen/src/Eigen2Support')
-rw-r--r-- | Eigen/src/Eigen2Support/SVD.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Eigen/src/Eigen2Support/SVD.h b/Eigen/src/Eigen2Support/SVD.h index 077d26d54..3d03d2288 100644 --- a/Eigen/src/Eigen2Support/SVD.h +++ b/Eigen/src/Eigen2Support/SVD.h @@ -512,8 +512,7 @@ template<typename MatrixType> template<typename OtherDerived, typename ResultType> bool SVD<MatrixType>::solve(const MatrixBase<OtherDerived> &b, ResultType* result) const { - const int rows = m_matU.rows(); - ei_assert(b.rows() == rows); + ei_assert(b.rows() == m_matU.rows()); Scalar maxVal = m_sigma.cwise().abs().maxCoeff(); for (int j=0; j<b.cols(); ++j) |