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

Several Constructors for PoissonDistributionImpl are broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Won't Fix
    • 2.2
    • 3.0
    • None
    • None

    Description

      Only the constructor PoissonDistributionImpl(double) seems to actually work. All of the others cause a NullPointerException. The working one creates a default NormalDistribution, but all of the others just leave the member "normal" set to null and cause an NPE in the constructor.

      I can't even find a work around to construct a PoissonDistributionImpl with both a specified mean and an epsilon, since there is no way to set epsilon after creation and the constructor PoissonDistributionImpl(double p, double epsilon) does not work.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sappling Steve Appling
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: