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

cumulativeProbability((double)n, (double)n) returns 0 for integer distributions

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1, 1.2
    • Fix Version/s: 1.2
    • Labels:
      None

      Description

      cumulativeProbability((double)n, (double)n) returns 0 for
      discrete/integer distributions

      I suppose AbstractIntegerDistribution.cumulativeProbability(double,
      double) should be overridden to call its (int, int) version instead of
      using default one from AbstractDistribution

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              yegor Yegor Bryukhov
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: