You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Arne Plöse (JIRA)" <ji...@apache.org> on 2011/05/10 10:09:03 UTC

[jira] [Created] (MATH-572) Constructor parameter not used

Constructor parameter not used
------------------------------

                 Key: MATH-572
                 URL: https://issues.apache.org/jira/browse/MATH-572
             Project: Commons Math
          Issue Type: Bug
    Affects Versions: 3.0
            Reporter: Arne Plöse
            Priority: Critical


the constructor public ArrayFieldVector(Field<T> field, T[] v1, T[] v2)
sets this
"this.field = data[0].getField();"
in the fast line...

"this.field = field;"

would be right - field was explicitly provided.


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (MATH-572) Constructor parameter not used

Posted by "Luc Maisonobe (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MATH-572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luc Maisonobe resolved MATH-572.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0

Fixed in subversion repository as of r1101575.

Thanks for reporting the issue.

> Constructor parameter not used
> ------------------------------
>
>                 Key: MATH-572
>                 URL: https://issues.apache.org/jira/browse/MATH-572
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 3.0
>            Reporter: Arne Plöse
>            Priority: Critical
>             Fix For: 3.0
>
>
> the constructor public ArrayFieldVector(Field<T> field, T[] v1, T[] v2)
> sets this
> "this.field = data[0].getField();"
> in the fast line...
> "this.field = field;"
> would be right - field was explicitly provided.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira