diff --git a/examples/synchrotron_test_manual_tracking.cpp b/examples/synchrotron_test_manual_tracking.cpp index a1352918d5e572e880a044813569bada78fbb7dd..e2bcb3e1d4bf6b7e702524ad4d9305f4a0193923 100644 --- a/examples/synchrotron_test_manual_tracking.cpp +++ b/examples/synchrotron_test_manual_tracking.cpp @@ -162,8 +162,9 @@ int main() { auto particle1{stack.addParticle(std::make_tuple( particle, calculate_kinetic_energy(plab.getNorm(), get_mass(particle)), plab.normalized(), point_1, timeCounter))}; - coreas.doContinuous(particle1, track, true); - zhs.doContinuous(particle1, track, true); + Step step(particle1, track); + coreas.doContinuous(step, true); + zhs.doContinuous(step, true); stack.clear(); }