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

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Gilles (Jira)
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

       
Reply | Threaded
Open this post in threaded view
|

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

Gilles (Jira)

     [ 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