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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.1
    • Labels:
      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

            • Assignee:
              Unassigned
              Reporter:
              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