You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Phil Steitz (JIRA)" <ji...@apache.org> on 2010/01/16 21:03:54 UTC

[jira] Resolved: (MATH-329) In stat.Frequency, getPct(Object) uses getCumPct(Comparable) instead of getPct(Comparable)

     [ https://issues.apache.org/jira/browse/MATH-329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Phil Steitz resolved MATH-329.
------------------------------

    Resolution: Fixed

Fixed in r900016.  Thanks for reporting this.

> In stat.Frequency, getPct(Object) uses getCumPct(Comparable) instead of getPct(Comparable) 
> -------------------------------------------------------------------------------------------
>
>                 Key: MATH-329
>                 URL: https://issues.apache.org/jira/browse/MATH-329
>             Project: Commons Math
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Willi Wu
>            Priority: Minor
>             Fix For: 2.1
>
>   Original Estimate: 0.17h
>  Remaining Estimate: 0.17h
>
> 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);
>     }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.