mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-13 20:26:03 +08:00
bug #1048: fix unused variable warning
(grafted from 41e1f3498c90d498796c424b19d115c3a9b92374 )
This commit is contained in:
parent
6a3797f46f
commit
5c70b43abd
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user