[ 
https://issues.apache.org/jira/browse/MATH-1238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14604095#comment-14604095
 ] 

Gilles commented on MATH-1238:
------------------------------

Is it the "automatically-computed" or a "user-defined" initial value whose 
function evaluation is NaN?
In the former case, the library might try to generate another start value.
Could you provide a unit test that shows the problem?


> NoBracketingException send with valid brackets
> ----------------------------------------------
>
>                 Key: MATH-1238
>                 URL: https://issues.apache.org/jira/browse/MATH-1238
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 3.5
>            Reporter: charles sitbon
>            Priority: Minor
>
> The brent solver sometimes send a NoBracketingException with valid brackets : 
> example for a beta distribution with large Beta (285) and alpha around 15
> Exception in thread "main" 
> org.apache.commons.math3.exception.NoBracketingException: function values at 
> endpoints do not have different signs, endpoints: [0, 1], values: [-0.15, 
> 0.85]
> the exception is actually caused by the yinitial which is Nan



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to