[
https://issues.apache.org/jira/browse/MATH-1612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gilles Sadowski resolved MATH-1612.
-----------------------------------
Resolution: Done
Doc updated in commit cd54910edcb60f4d67fe3af3e26a5f184699dd16 ("master"
branch).
See also MATH-1613.
> Regression in "SimpsonIntegrator"?
> ----------------------------------
>
> Key: MATH-1612
> URL: https://issues.apache.org/jira/browse/MATH-1612
> Project: Commons Math
> Issue Type: Bug
> Reporter: Gilles Sadowski
> Priority: Major
> Fix For: 4.0
>
>
> The following code:
> {code}
> final UnivariateFunction f = PolynomialsUtils.createHermitePolynomial(deg);
> final double integ = new SimpsonIntegrator(9, 50).integrate(1100, f, 0, 0.5);
> {code}
> terminates as expected, while this one
> {code}
> final UnivariateFunction f = PolynomialsUtils.createHermitePolynomial(deg);
> final double integ = new SimpsonIntegrator(10, 50).integrate(1100, f, 0, 0.5);
> {code}
> raises an exception:
> {noformat}
> TooManyEvaluationsException: illegal state: maximal count (1,100) exceeded:
> evaluations
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)