diff --git a/src/java/org/apache/commons/math/optimization/univariate/AbstractUnivariateRealOptimizer.java b/src/java/org/apache/commons/math/optimization/univariate/AbstractUnivariateRealOptimizer.java index 8e4f14fe2..4cd0a93e6 100644 --- a/src/java/org/apache/commons/math/optimization/univariate/AbstractUnivariateRealOptimizer.java +++ b/src/java/org/apache/commons/math/optimization/univariate/AbstractUnivariateRealOptimizer.java @@ -85,18 +85,6 @@ public abstract class AbstractUnivariateRealOptimizer return functionValue; } - /** - * Convenience function for implementations. - * - * @param result the result to set - * @param iterationCount the iteration count to set - */ - protected final void setResult(final double result, final int iterationCount) { - this.result = result; - this.iterationCount = iterationCount; - this.resultComputed = true; - } - /** * Convenience function for implementations. *