mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-14 04:35:57 +08:00
Silence unused variable warning.
This commit is contained in:
parent
40f1548b32
commit
3736e00ae7
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user