You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Luc Maisonobe (JIRA)" <ji...@apache.org> on 2010/02/23 22:03:28 UTC

[jira] Resolved: (MATH-343) Brent solver doesn't throw IllegalArgumentException when initial guess has the wrong sign

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

Luc Maisonobe resolved MATH-343.
--------------------------------

    Resolution: Fixed

Fixed in subversion repository as of r915517
Thanks for reporting the issue

> Brent solver doesn't throw IllegalArgumentException when initial guess has the wrong sign
> -----------------------------------------------------------------------------------------
>
>                 Key: MATH-343
>                 URL: https://issues.apache.org/jira/browse/MATH-343
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Volkan Aktas
>            Priority: Critical
>
> Javadoc for "public double solve(final UnivariateRealFunction f, final double min, final double max, final double initial)" claims that "if the values of the function at the three points have the same sign" an IllegalArgumentException is thrown. This case isn't even checked.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.