diff --git a/.classpath b/.classpath index d27e230..d02377a 100644 --- a/.classpath +++ b/.classpath @@ -1,21 +1,21 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + diff --git a/src/jat/examples/ThreeBodyExample/ThreeBodyAPL.java b/src/jat/examples/ThreeBodyExample/ThreeBodyAPL.java index aa379c1..d7cffbd 100644 --- a/src/jat/examples/ThreeBodyExample/ThreeBodyAPL.java +++ b/src/jat/examples/ThreeBodyExample/ThreeBodyAPL.java @@ -38,7 +38,11 @@ public class ThreeBodyAPL extends ThreeBody implements FirstOrderDifferentialEqu @Override public void computeDerivatives(double t, double[] y, double[] yDot) { // returns the derivatives of the ThreeBody problem - yDot = this.derivs(t, y); + double [] yDot_temp = this.derivs(t, y); + for (int i=0; i