diff --git a/src/cic.cpp b/src/cic.cpp index 497bb49..d8601c5 100644 --- a/src/cic.cpp +++ b/src/cic.cpp @@ -189,7 +189,7 @@ void CICFilter::putParticles(CICParticles *particles, uint32_t N) for (int t = 0; t < threadUsed; t++) { - delete[] threadedDensity; + delete[] threadedDensity[t]; } }