diff options
author | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2015-03-31 00:49:08 +0200 |
---|---|---|
committer | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2015-03-31 00:49:08 +0200 |
commit | 3b169d792df8bcdd9ddbc645ffcfdb0636e585af (patch) | |
tree | c2b4fc4e2bdfff899d6cf136266915b18318e3fc /Eigen/src/SVD/BDCSVD.h | |
parent | 3238ca6abcce0f26035629aebe4e9018079a6917 (diff) |
Suppress unused variable warning
Diffstat (limited to 'Eigen/src/SVD/BDCSVD.h')
-rw-r--r-- | Eigen/src/SVD/BDCSVD.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Eigen/src/SVD/BDCSVD.h b/Eigen/src/SVD/BDCSVD.h index ca7bc30fc..a69e4cf96 100644 --- a/Eigen/src/SVD/BDCSVD.h +++ b/Eigen/src/SVD/BDCSVD.h @@ -786,9 +786,9 @@ void BDCSVD<MatrixType>::computeSingVals(const ArrayXr& col0, const ArrayXr& dia } RealScalar fLeft = secularEq(leftShifted, col0, diag, perm, diagShifted, shift); - RealScalar fRight = secularEq(rightShifted, col0, diag, perm, diagShifted, shift); #ifdef EIGEN_BDCSVD_DEBUG_VERBOSE + RealScalar fRight = secularEq(rightShifted, col0, diag, perm, diagShifted, shift); if(!(fLeft * fRight<0)) std::cout << k << " : " << fLeft << " * " << fRight << " == " << fLeft * fRight << " ; " << left << " - " << right << " -> " << leftShifted << " " << rightShifted << " shift=" << shift << "\n"; #endif @@ -801,7 +801,6 @@ void BDCSVD<MatrixType>::computeSingVals(const ArrayXr& col0, const ArrayXr& dia if (fLeft * fMid < 0) { rightShifted = midShifted; - fRight = fMid; } else { |