how can i fix this error
Hi! Try to replace your code with
auto aParticleIterator = GetParticleIterator(); aParticleIterator->reset();
It works for me!