// discrete events handling
System.arraycopy(yTmp, 0, y, 0, n);
interpolator.reinitialize(stepEnd, stepSize, correctedScaled, nordsieckTmp);
interpolator.storeTime(stepStart);
interpolator.shift();
interpolator.storeTime(stepEnd);
stepStart = acceptStep(interpolator, y, yDot, t);
scaled = correctedScaled;
nordsieck = nordsieckTmp;