commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MATH-466) BaseMultiStartMultivariateRealOptimizer.optimize() can generate NPE if starts < 1
Date Thu, 06 Jan 2011 14:34:47 GMT

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

Sebb commented on MATH-466:
---------------------------

Same issue applies to BaseMultiStartMultivariateVectorialOptimizer

> BaseMultiStartMultivariateRealOptimizer.optimize() can generate NPE if starts < 1
> ---------------------------------------------------------------------------------
>
>                 Key: MATH-466
>                 URL: https://issues.apache.org/jira/browse/MATH-466
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 3.0
>            Reporter: Sebb
>
> The Javadoc for BaseMultiStartMultivariateRealOptimizer says that starts can be <=
1; however if it is set to 0, then the optimize() method will try to throw a null exception.
> Perhaps starts should be constrained to be at least 1?

-- 
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