diff --git a/src/Integrator/DPD.cuh b/src/Integrator/DPD.cuh index 2d152bad..ff814cb2 100644 --- a/src/Integrator/DPD.cuh +++ b/src/Integrator/DPD.cuh @@ -59,10 +59,11 @@ namespace uammd{ virtual void forwardTime() override { steps++; - if (steps == 1) + if (steps == 1){ for(auto forceComp: interactors){ verlet->addInteractor(forceComp); } + } verlet->forwardTime(); }