diff --git a/src/main/java/org/apache/commons/math4/ode/nonstiff/RungeKuttaFieldIntegrator.java b/src/main/java/org/apache/commons/math4/ode/nonstiff/RungeKuttaFieldIntegrator.java index 598af3b41..eb0c08643 100644 --- a/src/main/java/org/apache/commons/math4/ode/nonstiff/RungeKuttaFieldIntegrator.java +++ b/src/main/java/org/apache/commons/math4/ode/nonstiff/RungeKuttaFieldIntegrator.java @@ -143,7 +143,7 @@ public abstract class RungeKuttaFieldIntegrator> interpolator.shift(); // first stage - yDotK[0] = stepStart.getDerivative(); + yDotK[0] = equations.getMapper().mapDerivative(stepStart); // next stages for (int k = 1; k < stages; ++k) {