From 2a4984980af61442ce8b9009c8c86bb94b2bab4c Mon Sep 17 00:00:00 2001 From: Luc Maisonobe Date: Wed, 6 Jan 2016 14:18:08 +0100 Subject: [PATCH] typos. --- .../AbstractEmbeddedRungeKuttaFieldIntegratorTest.java | 6 +++--- .../nonstiff/AbstractRungeKuttaFieldIntegratorTest.java | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/test/java/org/apache/commons/math4/ode/nonstiff/AbstractEmbeddedRungeKuttaFieldIntegratorTest.java b/src/test/java/org/apache/commons/math4/ode/nonstiff/AbstractEmbeddedRungeKuttaFieldIntegratorTest.java index 9314b2706..61372f51e 100644 --- a/src/test/java/org/apache/commons/math4/ode/nonstiff/AbstractEmbeddedRungeKuttaFieldIntegratorTest.java +++ b/src/test/java/org/apache/commons/math4/ode/nonstiff/AbstractEmbeddedRungeKuttaFieldIntegratorTest.java @@ -48,7 +48,7 @@ public abstract class AbstractEmbeddedRungeKuttaFieldIntegratorTest { protected abstract > EmbeddedRungeKuttaFieldIntegrator createIntegrator(Field field, final double minStep, final double maxStep, - final double scalAbsoluteTolerance, final double scalRelativeTolerance) ; + final double scalAbsoluteTolerance, final double scalRelativeTolerance); protected abstract > EmbeddedRungeKuttaFieldIntegrator createIntegrator(Field field, final double minStep, final double maxStep, @@ -384,7 +384,7 @@ public abstract class AbstractEmbeddedRungeKuttaFieldIntegratorTest { public abstract void testBackward(); protected > void doTestBackward(Field 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(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()); diff --git a/src/test/java/org/apache/commons/math4/ode/nonstiff/AbstractRungeKuttaFieldIntegratorTest.java b/src/test/java/org/apache/commons/math4/ode/nonstiff/AbstractRungeKuttaFieldIntegratorTest.java index ae56e6b06..d79a19f15 100644 --- a/src/test/java/org/apache/commons/math4/ode/nonstiff/AbstractRungeKuttaFieldIntegratorTest.java +++ b/src/test/java/org/apache/commons/math4/ode/nonstiff/AbstractRungeKuttaFieldIntegratorTest.java @@ -285,7 +285,7 @@ public abstract class AbstractRungeKuttaFieldIntegratorTest { public abstract void testSmallStep(); protected > void doTestSmallStep(Field 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(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 > void doTestBackward(Field 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(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());