typos. Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/4a501b65 Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/4a501b65 Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/4a501b65
Branch: refs/heads/MATH_3_X Commit: 4a501b65964a107bc6ded369f71782a5d29eb710 Parents: 34b136c Author: Luc Maisonobe <l...@apache.org> Authored: Mon Dec 28 20:47:49 2015 +0100 Committer: Luc Maisonobe <l...@apache.org> Committed: Mon Dec 28 22:12:27 2015 +0100 ---------------------------------------------------------------------- .../AbstractEmbeddedRungeKuttaFieldIntegratorTest.java | 6 +++--- .../ode/nonstiff/AbstractRungeKuttaFieldIntegratorTest.java | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-math/blob/4a501b65/src/test/java/org/apache/commons/math3/ode/nonstiff/AbstractEmbeddedRungeKuttaFieldIntegratorTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math3/ode/nonstiff/AbstractEmbeddedRungeKuttaFieldIntegratorTest.java b/src/test/java/org/apache/commons/math3/ode/nonstiff/AbstractEmbeddedRungeKuttaFieldIntegratorTest.java index 6d5c52a..8bef0c2 100644 --- a/src/test/java/org/apache/commons/math3/ode/nonstiff/AbstractEmbeddedRungeKuttaFieldIntegratorTest.java +++ b/src/test/java/org/apache/commons/math3/ode/nonstiff/AbstractEmbeddedRungeKuttaFieldIntegratorTest.java @@ -48,7 +48,7 @@ public abstract class AbstractEmbeddedRungeKuttaFieldIntegratorTest { protected abstract <T extends RealFieldElement<T>> EmbeddedRungeKuttaFieldIntegrator<T> createIntegrator(Field<T> field, final double minStep, final double maxStep, - final double scalAbsoluteTolerance, final double scalRelativeTolerance) ; + final double scalAbsoluteTolerance, final double scalRelativeTolerance); protected abstract <T extends RealFieldElement<T>> EmbeddedRungeKuttaFieldIntegrator<T> createIntegrator(Field<T> field, final double minStep, final double maxStep, @@ -384,7 +384,7 @@ public abstract class AbstractEmbeddedRungeKuttaFieldIntegratorTest { public abstract void testBackward(); protected <T extends RealFieldElement<T>> void doTestBackward(Field<T> field, - final double espilonLast, + final double epsilonLast, final double epsilonMaxValue, final double epsilonMaxTime, final String name) @@ -404,7 +404,7 @@ public abstract class AbstractEmbeddedRungeKuttaFieldIntegratorTest { integ.addStepHandler(handler); integ.integrate(new FieldExpandableODE<T>(pb), pb.getInitialState(), pb.getFinalTime()); - Assert.assertEquals(0, handler.getLastError().getReal(), espilonLast); + Assert.assertEquals(0, handler.getLastError().getReal(), epsilonLast); Assert.assertEquals(0, handler.getMaximalValueError().getReal(), epsilonMaxValue); Assert.assertEquals(0, handler.getMaximalTimeError().getReal(), epsilonMaxTime); Assert.assertEquals(name, integ.getName()); http://git-wip-us.apache.org/repos/asf/commons-math/blob/4a501b65/src/test/java/org/apache/commons/math3/ode/nonstiff/AbstractRungeKuttaFieldIntegratorTest.java ---------------------------------------------------------------------- diff --git a/src/test/java/org/apache/commons/math3/ode/nonstiff/AbstractRungeKuttaFieldIntegratorTest.java b/src/test/java/org/apache/commons/math3/ode/nonstiff/AbstractRungeKuttaFieldIntegratorTest.java index 07eee38..3db8f1c 100644 --- a/src/test/java/org/apache/commons/math3/ode/nonstiff/AbstractRungeKuttaFieldIntegratorTest.java +++ b/src/test/java/org/apache/commons/math3/ode/nonstiff/AbstractRungeKuttaFieldIntegratorTest.java @@ -285,7 +285,7 @@ public abstract class AbstractRungeKuttaFieldIntegratorTest { public abstract void testSmallStep(); protected <T extends RealFieldElement<T>> void doTestSmallStep(Field<T> field, - final double espilonLast, + final double epsilonLast, final double epsilonMaxValue, final double epsilonMaxTime, final String name) @@ -300,7 +300,7 @@ public abstract class AbstractRungeKuttaFieldIntegratorTest { integ.addStepHandler(handler); integ.integrate(new FieldExpandableODE<T>(pb), pb.getInitialState(), pb.getFinalTime()); - Assert.assertEquals(0, handler.getLastError().getReal(), espilonLast); + Assert.assertEquals(0, handler.getLastError().getReal(), epsilonLast); Assert.assertEquals(0, handler.getMaximalValueError().getReal(), epsilonMaxValue); Assert.assertEquals(0, handler.getMaximalTimeError().getReal(), epsilonMaxTime); Assert.assertEquals(name, integ.getName()); @@ -337,7 +337,7 @@ public abstract class AbstractRungeKuttaFieldIntegratorTest { public abstract void testBackward(); protected <T extends RealFieldElement<T>> void doTestBackward(Field<T> field, - final double espilonLast, + final double epsilonLast, final double epsilonMaxValue, final double epsilonMaxTime, final String name) @@ -352,7 +352,7 @@ public abstract class AbstractRungeKuttaFieldIntegratorTest { integ.addStepHandler(handler); integ.integrate(new FieldExpandableODE<T>(pb), pb.getInitialState(), pb.getFinalTime()); - Assert.assertEquals(0, handler.getLastError().getReal(), espilonLast); + Assert.assertEquals(0, handler.getLastError().getReal(), epsilonLast); Assert.assertEquals(0, handler.getMaximalValueError().getReal(), epsilonMaxValue); Assert.assertEquals(0, handler.getMaximalTimeError().getReal(), epsilonMaxTime); Assert.assertEquals(name, integ.getName());