bug #1048: fix unused variable warning

This commit is contained in:
Gael Guennebaud 2015-07-28 22:59:50 +02:00
parent b9db19aec4
commit 41e1f3498c

View File

@ -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);
}