You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by lu...@apache.org on 2008/07/14 17:14:43 UTC

svn commit: r676620 - /commons/proper/math/branches/MATH_2_0/src/test/org/apache/commons/math/ode/nonstiff/TestProblem4.java

Author: luc
Date: Mon Jul 14 08:14:42 2008
New Revision: 676620

URL: http://svn.apache.org/viewvc?rev=676620&view=rev
Log:
fixed test which did not bounce properly when convergence setting was low

Modified:
    commons/proper/math/branches/MATH_2_0/src/test/org/apache/commons/math/ode/nonstiff/TestProblem4.java

Modified: commons/proper/math/branches/MATH_2_0/src/test/org/apache/commons/math/ode/nonstiff/TestProblem4.java
URL: http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_0/src/test/org/apache/commons/math/ode/nonstiff/TestProblem4.java?rev=676620&r1=676619&r2=676620&view=diff
==============================================================================
--- commons/proper/math/branches/MATH_2_0/src/test/org/apache/commons/math/ode/nonstiff/TestProblem4.java (original)
+++ commons/proper/math/branches/MATH_2_0/src/test/org/apache/commons/math/ode/nonstiff/TestProblem4.java Mon Jul 14 08:14:42 2008
@@ -113,6 +113,7 @@
     }
   
     public void resetState(double t, double[] y) {
+      y[0] = -y[0];
       y[1] = -y[1];
     }