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];
}