You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gilles Sadowski (Jira)" <ji...@apache.org> on 2021/06/24 21:43:00 UTC

[jira] [Created] (MATH-1612) Regression in "SimpsonIntegrator"?

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)