mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-09-13 01:43:13 +08:00
Add missing ptr in realloc call.
This commit is contained in:
parent
b2a13c9dd1
commit
714678fc6c
@ -601,7 +601,7 @@ class SparseMatrix
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
m_outerIndex = internal::conditional_aligned_realloc_new_auto<StorageIndex, true>(
|
m_outerIndex = internal::conditional_aligned_realloc_new_auto<StorageIndex, true>(
|
||||||
m_outerSize + outerChange + 1, m_outerSize + 1);
|
m_outerIndex, m_outerSize + outerChange + 1, m_outerSize + 1);
|
||||||
if (outerChange > 0)
|
if (outerChange > 0)
|
||||||
{
|
{
|
||||||
StorageIndex lastIdx = m_outerSize == 0 ? 0 : m_outerIndex[m_outerSize];
|
StorageIndex lastIdx = m_outerSize == 0 ? 0 : m_outerIndex[m_outerSize];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user