commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phil Steitz (JIRA)" <j...@apache.org>
Subject [jira] Closed: (MATH-329) In stat.Frequency, getPct(Object) uses getCumPct(Comparable) instead of getPct(Comparable)
Date Sat, 03 Apr 2010 20:37:27 GMT

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

Phil Steitz closed MATH-329.
----------------------------


> 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.


Mime
View raw message