bug #1048: fix unused variable warning

(grafted from 41e1f3498c90d498796c424b19d115c3a9b92374
)
This commit is contained in:
Gael Guennebaud 2015-07-28 22:59:50 +02:00
parent 6a3797f46f
commit 5c70b43abd

View File

@ -158,6 +158,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);
}