diff --git a/src/main/java/org/apache/commons/math4/analysis/integration/BaseAbstractUnivariateIntegrator.java b/src/main/java/org/apache/commons/math4/analysis/integration/BaseAbstractUnivariateIntegrator.java index 690615f4c..1f89468fc 100644 --- a/src/main/java/org/apache/commons/math4/analysis/integration/BaseAbstractUnivariateIntegrator.java +++ b/src/main/java/org/apache/commons/math4/analysis/integration/BaseAbstractUnivariateIntegrator.java @@ -221,8 +221,7 @@ public abstract class BaseAbstractUnivariateIntegrator implements UnivariateInte /** * Prepare for computation. - * Subclasses must call this method if they override any of the - * {@code solve} methods. + * Subclasses must call this method if they the {@code integrate} method. * * @param maxEval Maximum number of evaluations. * @param f the integrand function diff --git a/src/main/java/org/apache/commons/math4/analysis/solvers/BaseAbstractUnivariateSolver.java b/src/main/java/org/apache/commons/math4/analysis/solvers/BaseAbstractUnivariateSolver.java index a65cd418d..650a3824c 100644 --- a/src/main/java/org/apache/commons/math4/analysis/solvers/BaseAbstractUnivariateSolver.java +++ b/src/main/java/org/apache/commons/math4/analysis/solvers/BaseAbstractUnivariateSolver.java @@ -23,7 +23,7 @@ import org.apache.commons.math4.exception.NoBracketingException; import org.apache.commons.math4.exception.NullArgumentException; import org.apache.commons.math4.exception.NumberIsTooLargeException; import org.apache.commons.math4.exception.TooManyEvaluationsException; -import org.apache.commons.math4.util.Incrementor; +import org.apache.commons.math4.util.IntegerSequence; import org.apache.commons.math4.util.MathUtils; /** @@ -51,7 +51,7 @@ public abstract class BaseAbstractUnivariateSolver= upper}. */ protected void verifyInterval(final double lower, - final double upper) - throws NumberIsTooLargeException { + final double upper) { UnivariateSolverUtils.verifyInterval(lower, upper); } @@ -283,8 +275,7 @@ public abstract class BaseAbstractUnivariateSolver