Silence unused variable warning.

(grafted from 3736e00ae719d745fbde5012d8fe9047e85828c3
)
This commit is contained in:
vanhoucke 2013-10-04 00:21:03 +00:00
parent fbc5beadc8
commit 0a44b5249c

View File

@ -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)