Gilles Sadowski created MATH-1612:
-------------------------------------
Summary: Regression in "SimpsonIntegrator"?
Key: MATH-1612
URL: https://issues.apache.org/jira/browse/MATH-1612
Project: Commons Math
Issue Type: Bug
Reporter: Gilles Sadowski
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)