Incorrect exception specification in AbstractLeastSquaresOptimizer.optimize()
-----------------------------------------------------------------------------
Key: MATH-443
URL: https://issues.apache.org/jira/browse/MATH-443
Project: Commons Math
Issue Type: Bug
Affects Versions: 2.1, 2.0
Reporter: Roman Werpachowski
Priority: Minor
AbstractLeastSquaresOptimizer.optimize() declares the following exceptions:
FunctionEvaluationException, OptimizationException, IllegalArgumentException.
However, it also throws MaxIterationsExceededException. I think that instead of
OptimizationException, ConvergenceException should be declared.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.