From 11df45b7bdf0e836df475cd480f5287f4256f493 Mon Sep 17 00:00:00 2001 From: Luc Maisonobe Date: Wed, 6 Jan 2016 12:41:41 +0100 Subject: [PATCH] Removed unneeded field. --- .../org/apache/commons/math4/ode/AbstractFieldIntegrator.java | 4 ---- 1 file changed, 4 deletions(-) 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); } }