step!(integrator) is advancing the integrator by a step. Remove that line and everything will work.
1 Like
step!(integrator) is advancing the integrator by a step. Remove that line and everything will work.