aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/SVD
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2015-02-16 17:21:30 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2015-02-16 17:21:30 +0100
commit1c0e8bcf09db440793abb02b3f5d68e1f4a27585 (patch)
tree19852aa358538288022e5315ecb933d12e663be4 /Eigen/src/SVD
parent69fa405096f16899ce625eb690440a473a7864bf (diff)
Fix unused variable warning.
Diffstat (limited to 'Eigen/src/SVD')
-rw-r--r--Eigen/src/SVD/UpperBidiagonalization.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Eigen/src/SVD/UpperBidiagonalization.h b/Eigen/src/SVD/UpperBidiagonalization.h
index 9dc470fd9..deaf3dcc4 100644
--- a/Eigen/src/SVD/UpperBidiagonalization.h
+++ b/Eigen/src/SVD/UpperBidiagonalization.h
@@ -358,6 +358,7 @@ UpperBidiagonalization<_MatrixType>& UpperBidiagonalization<_MatrixType>::comput
{
Index rows = matrix.rows();
Index cols = matrix.cols();
+ EIGEN_ONLY_USED_FOR_DEBUG(cols);
eigen_assert(rows >= cols && "UpperBidiagonalization is only for Arices satisfying rows>=cols.");
@@ -379,6 +380,7 @@ UpperBidiagonalization<_MatrixType>& UpperBidiagonalization<_MatrixType>::comput
{
Index rows = matrix.rows();
Index cols = matrix.cols();
+ EIGEN_ONLY_USED_FOR_DEBUG(cols);
eigen_assert(rows >= cols && "UpperBidiagonalization is only for Arices satisfying rows>=cols.");