diff options
Diffstat (limited to 'src/particlecontainer.cpp')
-rw-r--r-- | src/particlecontainer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/particlecontainer.cpp b/src/particlecontainer.cpp index 6900539d..d38f2b2a 100644 --- a/src/particlecontainer.cpp +++ b/src/particlecontainer.cpp @@ -128,7 +128,7 @@ void ParticleVector::setLocally(int index, Particle *particle) delLocally(index); if (mIndexedElements.size() <= (unsigned) index) - mIndexedElements.resize(index + 1, NULL); + mIndexedElements.resize(index + 1); if (particle) particle->disableAutoDelete(); |