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 2013/07/23 10:38:04 UTC
svn commit: r1505934 - in
/commons/proper/math/trunk/src/main/java/org/apache/commons/math3:
linear/IterativeLinearSolverEvent.java ode/AbstractIntegrator.java
Author: luc
Date: Tue Jul 23 08:38:03 2013
New Revision: 1505934
URL: http://svn.apache.org/r1505934
Log:
Typos.
Modified:
commons/proper/math/trunk/src/main/java/org/apache/commons/math3/linear/IterativeLinearSolverEvent.java
commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ode/AbstractIntegrator.java
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/linear/IterativeLinearSolverEvent.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/linear/IterativeLinearSolverEvent.java?rev=1505934&r1=1505933&r2=1505934&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/linear/IterativeLinearSolverEvent.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/linear/IterativeLinearSolverEvent.java Tue Jul 23 08:38:03 2013
@@ -20,7 +20,7 @@ import org.apache.commons.math3.util.Ite
import org.apache.commons.math3.exception.MathUnsupportedOperationException;
/**
- * This is the base class for all events occuring during the iterations of a
+ * This is the base class for all events occurring during the iterations of a
* {@link IterativeLinearSolver}.
*
* @version $Id$
Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ode/AbstractIntegrator.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ode/AbstractIntegrator.java?rev=1505934&r1=1505933&r2=1505934&view=diff
==============================================================================
--- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ode/AbstractIntegrator.java (original)
+++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/ode/AbstractIntegrator.java Tue Jul 23 08:38:03 2013
@@ -327,7 +327,7 @@ public abstract class AbstractIntegrator
// search for next events that may occur during the step
final int orderingSign = interpolator.isForward() ? +1 : -1;
- SortedSet<EventState> occuringEvents = new TreeSet<EventState>(new Comparator<EventState>() {
+ SortedSet<EventState> occurringEvents = new TreeSet<EventState>(new Comparator<EventState>() {
/** {@inheritDoc} */
public int compare(EventState es0, EventState es1) {
@@ -339,14 +339,14 @@ public abstract class AbstractIntegrator
for (final EventState state : eventsStates) {
if (state.evaluateStep(interpolator)) {
// the event occurs during the current step
- occuringEvents.add(state);
+ occurringEvents.add(state);
}
}
- while (!occuringEvents.isEmpty()) {
+ while (!occurringEvents.isEmpty()) {
// handle the chronologically first event
- final Iterator<EventState> iterator = occuringEvents.iterator();
+ final Iterator<EventState> iterator = occurringEvents.iterator();
final EventState currentEvent = iterator.next();
iterator.remove();
@@ -405,7 +405,7 @@ public abstract class AbstractIntegrator
// check if the same event occurs again in the remaining part of the step
if (currentEvent.evaluateStep(interpolator)) {
// the event occurs during the current step
- occuringEvents.add(currentEvent);
+ occurringEvents.add(currentEvent);
}
}