You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Phil Steitz (JIRA)" <ji...@apache.org> on 2011/08/20 23:28:27 UTC

[jira] [Created] (MATH-648) SimpleRegression has extraneous constructor

SimpleRegression has extraneous constructor
-------------------------------------------

                 Key: MATH-648
                 URL: https://issues.apache.org/jira/browse/MATH-648
             Project: Commons Math
          Issue Type: Bug
    Affects Versions: 2.2
            Reporter: Phil Steitz
            Assignee: Phil Steitz
             Fix For: 3.0


The SimpleRegression(int) constructor added in version 2.2 has no effect on any statistics computed by the class.  The private TDistributionImpl data member that this constructor initializes is no longer meaningful, as a new distribution instance is created each time it is needed.  The T distribution implementation used in computations is no longer meaningfully pluggable, so the instance field should be removed, along with this constructor.

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

        

[jira] [Resolved] (MATH-648) SimpleRegression has extraneous constructor

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

Phil Steitz resolved MATH-648.
------------------------------

    Resolution: Fixed

Fixed in r1159918.

> SimpleRegression has extraneous constructor
> -------------------------------------------
>
>                 Key: MATH-648
>                 URL: https://issues.apache.org/jira/browse/MATH-648
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 2.2
>            Reporter: Phil Steitz
>            Assignee: Phil Steitz
>             Fix For: 3.0
>
>
> The SimpleRegression(int) constructor added in version 2.2 has no effect on any statistics computed by the class.  The private TDistributionImpl data member that this constructor initializes is no longer meaningful, as a new distribution instance is created each time it is needed.  The T distribution implementation used in computations is no longer meaningfully pluggable, so the instance field should be removed, along with this constructor.

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