Added forgotten result dispatch in Gragg-Bulirsch-Stoer integrator.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1175410 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b7c5cd5ff7
commit
4247a40093
|
@ -940,6 +940,10 @@ public class GraggBulirschStoerIntegrator extends AdaptiveStepsizeIntegrator {
|
|||
|
||||
} while (!isLastStep);
|
||||
|
||||
// dispatch result between main and additional states
|
||||
System.arraycopy(y, 0, z, 0, z.length);
|
||||
equations.setCurrentAdditionalState(y);
|
||||
|
||||
final double stopTime = stepStart;
|
||||
resetInternalState();
|
||||
return stopTime;
|
||||
|
|
Loading…
Reference in New Issue