def revert_step(time_step_duration, equations, distance, distance_old):
    """Revert the time step.
    """
    time_step_duration = time_step_duration * 0.1
    for eqn in equations:
        eqn.var[:] = eqn.var.old
    distance[:] = distance_old
    return time_step_duration