From 1c0e8bcf09db440793abb02b3f5d68e1f4a27585 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Mon, 16 Feb 2015 17:21:30 +0100 Subject: [PATCH] Fix unused variable warning. --- Eigen/src/SVD/UpperBidiagonalization.h | 2 ++ 1 file changed, 2 insertions(+) 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.");