[
https://issues.apache.org/jira/browse/MATH-782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gilles updated MATH-782:
------------------------
Attachment: MATH-782.patch
Please have a look at the proposed patch.
> BrentOptimizer: User-defined check block is badly placed
> --------------------------------------------------------
>
> Key: MATH-782
> URL: https://issues.apache.org/jira/browse/MATH-782
> Project: Commons Math
> Issue Type: Bug
> Affects Versions: 3.0
> Reporter: Gilles
> Assignee: Gilles
> Fix For: 3.1
>
> Attachments: MATH-782.patch
>
>
> The CM implementation of Brent's original algorithm was supposed to allow for
> a user-defined stopping criterion (in addition to Brent's default one).
> However, it turns out that this additional block of code is not at the right
> location, implying an unwanted early exit.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira