Alex Herbert created NUMBERS-210:
------------------------------------

             Summary: BrentSolver has no validation of convergence accuracy or 
evaluated function value leading to possible non-convergence
                 Key: NUMBERS-210
                 URL: https://issues.apache.org/jira/browse/NUMBERS-210
             Project: Commons Numbers
          Issue Type: Bug
          Components: rootfinder
    Affects Versions: 1.3
            Reporter: Alex Herbert


The BrentSolver does not validate that the relative, absolute or function value 
accuracy are positive and finite. This can lead to use of negative or NaN 
tolerance and no possible convergence.

The evaluated function value may be computed as NaN. This invalidates any 
further convergence computation.

Issue identified using a security scan.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to