Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 91056 invoked from network); 14 Jan 2010 08:03:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Jan 2010 08:03:16 -0000 Received: (qmail 95209 invoked by uid 500); 14 Jan 2010 08:03:16 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 95095 invoked by uid 500); 14 Jan 2010 08:03:15 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 95085 invoked by uid 99); 14 Jan 2010 08:03:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jan 2010 08:03:15 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jan 2010 08:03:14 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7C404234C1EE for ; Thu, 14 Jan 2010 00:02:54 -0800 (PST) Message-ID: <547512130.235631263456174507.JavaMail.jira@brutus.apache.org> Date: Thu, 14 Jan 2010 08:02:54 +0000 (UTC) From: "Willi Wu (JIRA)" To: issues@commons.apache.org Subject: [jira] Created: (MATH-329) In stat.Frequency, getPct(Object) uses getCumPct(Comparable) instead of getPct(Comparable) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 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 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.