mirror of
https://github.com/apache/commons-math.git
synced 2025-02-06 10:09:26 +00:00
The full set of derivatives are needed in Runge-Kutta.
This commit is contained in:
parent
c4e2ddf266
commit
b21b4c8ded
@ -143,7 +143,7 @@ public abstract class RungeKuttaFieldIntegrator<T extends RealFieldElement<T>>
|
|||||||
interpolator.shift();
|
interpolator.shift();
|
||||||
|
|
||||||
// first stage
|
// first stage
|
||||||
yDotK[0] = stepStart.getDerivative();
|
yDotK[0] = equations.getMapper().mapDerivative(stepStart);
|
||||||
|
|
||||||
// next stages
|
// next stages
|
||||||
for (int k = 1; k < stages; ++k) {
|
for (int k = 1; k < stages; ++k) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user