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 2007/09/10 21:00:10 UTC
svn commit: r574335 - in /commons/proper/math/trunk/src:
java/org/apache/commons/math/ode/ test/org/apache/commons/math/ode/
Author: luc
Date: Mon Sep 10 12:00:09 2007
New Revision: 574335
URL: http://svn.apache.org/viewvc?rev=574335&view=rev
Log:
removed factories from the new ODE package
Removed:
commons/proper/math/trunk/src/java/org/apache/commons/math/ode/FirstOrderIntegratorFactory.java
commons/proper/math/trunk/src/java/org/apache/commons/math/ode/FirstOrderIntegratorFactoryImpl.java
Modified:
commons/proper/math/trunk/src/test/org/apache/commons/math/ode/GraggBulirschStoerIntegratorTest.java
Modified: commons/proper/math/trunk/src/test/org/apache/commons/math/ode/GraggBulirschStoerIntegratorTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/ode/GraggBulirschStoerIntegratorTest.java?rev=574335&r1=574334&r2=574335&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/org/apache/commons/math/ode/GraggBulirschStoerIntegratorTest.java (original)
+++ commons/proper/math/trunk/src/test/org/apache/commons/math/ode/GraggBulirschStoerIntegratorTest.java Mon Sep 10 12:00:09 2007
@@ -37,10 +37,8 @@
public void testDimensionCheck() {
try {
TestProblem1 pb = new TestProblem1();
- FirstOrderIntegratorFactory factory =
- FirstOrderIntegratorFactory.newInstance();
AdaptiveStepsizeIntegrator integrator =
- factory.newGraggBulirschStoerIntegrator(0.0, 1.0, 1.0e-10, 1.0e-10);
+ new GraggBulirschStoerIntegrator(0.0, 1.0, 1.0e-10, 1.0e-10);
integrator.integrate(pb,
0.0, new double[pb.getDimension()+10],
1.0, new double[pb.getDimension()+10]);