[ 
https://issues.apache.org/jira/browse/MATH-1388?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gilles Sadowski resolved MATH-1388.
-----------------------------------
    Resolution: Fixed

Commit a81b218d47b54af46030f3ef4231f619899c5667

> Default number of iterations in integrators
> -------------------------------------------
>
>                 Key: MATH-1388
>                 URL: https://issues.apache.org/jira/browse/MATH-1388
>             Project: Commons Math
>          Issue Type: Bug
>            Reporter: Gilles Sadowski
>            Priority: Trivial
>             Fix For: 4.0
>
>
> In {{TrapezoidIntegrator}} and {{MidPointIntegrator}}, the default value for 
> the number of iterations is set to 64.
> At iteration 64, the number of points would be 2^63, whereas the [largest 
> positive long value is 2^63 - 
> 1|https://docs.oracle.com/javase/7/docs/api/java/lang/Long.html#MAX_VALUE].
> Even if the default is set to 63, is such a huge value reasonable?
> The default value should be defined as a "private" field.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to