aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2015-07-28 22:59:50 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2015-07-28 22:59:50 +0200
commit41e1f3498c90d498796c424b19d115c3a9b92374 (patch)
tree5d87f583b0c2a5a558d535bd7d2d914cd1981567
parentb9db19aec42b9c5b09ed27461a205bd8c8d3a238 (diff)
bug #1048: fix unused variable warning
-rw-r--r--Eigen/src/SparseCore/SparseVector.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Eigen/src/SparseCore/SparseVector.h b/Eigen/src/SparseCore/SparseVector.h
index 7b65f32bc..13add55f7 100644
--- a/Eigen/src/SparseCore/SparseVector.h
+++ b/Eigen/src/SparseCore/SparseVector.h
@@ -170,6 +170,7 @@ class SparseVector
Index inner = IsColVector ? row : col;
Index outer = IsColVector ? col : row;
+ EIGEN_ONLY_USED_FOR_DEBUG(outer);
eigen_assert(outer==0);
return insert(inner);
}