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

In stat.Frequency, getPct(Object) uses getCumPct(Comparable) instead of getPct(Comparable)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0
    • 2.1
    • None
    • None

    Description

      Drop in Replacement of 1.2 with 2.0 not possible because all getPct calls will be cummulative without code change

      Frequency.java

      /**

      • Returns the percentage of values that are equal to v
      • @deprecated replaced by {@link #getPct(Comparable)}

        as of 2.0
        */
        @Deprecated
        public double getPct(Object v)

        { return getCumPct((Comparable<?>) v); }

      Attachments

        Activity

          People

            Unassigned Unassigned
            williausrohr Willi Wu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 10m
                10m
                Remaining:
                Remaining Estimate - 10m
                10m
                Logged:
                Time Spent - Not Specified
                Not Specified