Avoid spurious array copy.

This commit is contained in:
Luc Maisonobe 2016-01-06 12:24:25 +01:00
parent b21b4c8ded
commit 637027aa50
1 changed files with 0 additions and 1 deletions

View File

@ -175,7 +175,6 @@ public abstract class RungeKuttaFieldIntegrator<T extends RealFieldElement<T>>
// discrete events handling
interpolator.storeState(stateTmp);
System.arraycopy(yTmp, 0, y, 0, y0.length);
System.arraycopy(yDotK[stages - 1], 0, yDotTmp, 0, y0.length);
stepStart = acceptStep(interpolator, finalTime);
if (!isLastStep) {