mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
fix a dozen of warnings with MSVC, and get rid of some useless throw()
This commit is contained in:
@@ -160,7 +160,7 @@ class SparseVector
|
||||
Scalar& insert(Index i)
|
||||
{
|
||||
Index startId = 0;
|
||||
Index p = m_data.size() - 1;
|
||||
Index p = Index(m_data.size()) - 1;
|
||||
// TODO smart realloc
|
||||
m_data.resize(p+2,1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user