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 2016/01/06 14:50:44 UTC

[28/50] [abbrv] [math] Removed unneeded field.

Removed unneeded field.


Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/11df45b7
Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/11df45b7
Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/11df45b7

Branch: refs/heads/master
Commit: 11df45b7bdf0e836df475cd480f5287f4256f493
Parents: 2773215
Author: Luc Maisonobe <lu...@apache.org>
Authored: Wed Jan 6 12:41:41 2016 +0100
Committer: Luc Maisonobe <lu...@apache.org>
Committed: Wed Jan 6 12:41:41 2016 +0100

----------------------------------------------------------------------
 .../org/apache/commons/math4/ode/AbstractFieldIntegrator.java    | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-math/blob/11df45b7/src/main/java/org/apache/commons/math4/ode/AbstractFieldIntegrator.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math4/ode/AbstractFieldIntegrator.java b/src/main/java/org/apache/commons/math4/ode/AbstractFieldIntegrator.java
index 878f435..07fa9a0 100644
--- a/src/main/java/org/apache/commons/math4/ode/AbstractFieldIntegrator.java
+++ b/src/main/java/org/apache/commons/math4/ode/AbstractFieldIntegrator.java
@@ -67,9 +67,6 @@ public abstract class AbstractFieldIntegrator<T extends RealFieldElement<T>> imp
     /** Indicator for last step. */
     protected boolean isLastStep;
 
-    /** Indicator that a state or derivative reset was triggered by some event. */
-    protected boolean resetOccurred;
-
     /** Field to which the time and state vector elements belong. */
     private final Field<T> field;
 
@@ -348,7 +345,6 @@ public abstract class AbstractFieldIntegrator<T extends RealFieldElement<T>> imp
                         // invalidate the derivatives, we need to recompute them
                         final T[] y    = equations.getMapper().mapState(newState);
                         final T[] yDot = computeDerivatives(newState.getTime(), y);
-                        resetOccurred = true;
                         return equations.getMapper().mapStateAndDerivative(newState.getTime(), y, yDot);
                     }
                 }