[
https://issues.apache.org/jira/browse/MATH-1137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14058843#comment-14058843
]
Gilles commented on MATH-1137:
------------------------------
bq. I have never done a unit test in my life! I wouldn't know how to do it.
A unit test is nothing more than a "use-case", IOW a mini-application
demonstrating that the code behaves as expected. The unit test should fail with
the current code, and pass with the proposed correction.
Currently, no tests in CM exercise the block where the line is located... :(
Thus, we need a set of initial conditions such that the algorithm will
# enter this block
# behave differently with each of the alternatives
> BOBYQA incorrect indexing
> -------------------------
>
> Key: MATH-1137
> URL: https://issues.apache.org/jira/browse/MATH-1137
> Project: Commons Math
> Issue Type: Bug
> Affects Versions: 3.3
> Reporter: Nigel Goodwin
>
--
This message was sent by Atlassian JIRA
(v6.2#6252)