Uploaded image for project: 'Commons Math'
  1. Commons Math
  2. MATH-648

SimpleRegression has extraneous constructor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2
    • 3.0
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            psteitz Phil Steitz
            psteitz Phil Steitz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: