From 3736e00ae719d745fbde5012d8fe9047e85828c3 Mon Sep 17 00:00:00 2001 From: vanhoucke Date: Fri, 4 Oct 2013 00:21:03 +0000 Subject: [PATCH] Silence unused variable warning. --- Eigen/src/Eigen2Support/SVD.h | 3 +-- 1 file changed, 1 insertion(+), 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 template bool SVD::solve(const MatrixBase &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