Silence unused variable warning.

This commit is contained in:
vanhoucke 2013-10-04 00:21:03 +00:00
parent 40f1548b32
commit 3736e00ae7

View File

@ -512,8 +512,7 @@ template<typename MatrixType>
template<typename OtherDerived, typename ResultType> template<typename OtherDerived, typename ResultType>
bool SVD<MatrixType>::solve(const MatrixBase<OtherDerived> &b, ResultType* result) const bool SVD<MatrixType>::solve(const MatrixBase<OtherDerived> &b, ResultType* result) const
{ {
const int rows = m_matU.rows(); ei_assert(b.rows() == m_matU.rows());
ei_assert(b.rows() == rows);
Scalar maxVal = m_sigma.cwise().abs().maxCoeff(); Scalar maxVal = m_sigma.cwise().abs().maxCoeff();
for (int j=0; j<b.cols(); ++j) for (int j=0; j<b.cols(); ++j)