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 via email to