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 878f43547..07fa9a050 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> 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 field; @@ -348,7 +345,6 @@ public abstract class AbstractFieldIntegrator> 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); } }