commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Volkan Aktas (JIRA)" <j...@apache.org>
Subject [jira] Created: (MATH-343) Brent solver doesn't throw IllegalArgumentException when initial guess has the wrong sign
Date Tue, 23 Feb 2010 20:21:28 GMT
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.


Mime
View raw message