Author: luc
Date: Sun Sep 25 15:05:53 2011
New Revision: 1175410

URL: http://svn.apache.org/viewvc?rev=1175410&view=rev
Log:
Added forgotten result dispatch in Gragg-Bulirsch-Stoer integrator.

Modified:
    
commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/GraggBulirschStoerIntegrator.java

Modified: 
commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/GraggBulirschStoerIntegrator.java
URL: 
http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/GraggBulirschStoerIntegrator.java?rev=1175410&r1=1175409&r2=1175410&view=diff
==============================================================================
--- 
commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/GraggBulirschStoerIntegrator.java
 (original)
+++ 
commons/proper/math/trunk/src/main/java/org/apache/commons/math/ode/nonstiff/GraggBulirschStoerIntegrator.java
 Sun Sep 25 15:05:53 2011
@@ -940,6 +940,10 @@ public class GraggBulirschStoerIntegrato
 
     } 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;


Reply via email to