Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7796F9229 for ; Sat, 24 Mar 2012 16:25:08 +0000 (UTC) Received: (qmail 42338 invoked by uid 500); 24 Mar 2012 16:25:08 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 42287 invoked by uid 500); 24 Mar 2012 16:25:08 -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 42278 invoked by uid 99); 24 Mar 2012 16:25:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Mar 2012 16:25:08 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Mar 2012 16:25:07 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C9D2E3443E6 for ; Sat, 24 Mar 2012 16:24:26 +0000 (UTC) Date: Sat, 24 Mar 2012 16:24:26 +0000 (UTC) From: "Luc Maisonobe (Closed) (JIRA)" To: issues@commons.apache.org Message-ID: <838558388.13114.1332606266828.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <713943976.54385.1329577859715.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Closed] (MATH-747) Several Constructors for PoissonDistributionImpl are broken MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MATH-747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Luc Maisonobe closed MATH-747. ------------------------------ changing status to closed as 3.0 has been released > Several Constructors for PoissonDistributionImpl are broken > ----------------------------------------------------------- > > Key: MATH-747 > URL: https://issues.apache.org/jira/browse/MATH-747 > Project: Commons Math > Issue Type: Bug > Affects Versions: 2.2 > Reporter: Steve Appling > Priority: Critical > Fix For: 3.0 > > > Only the constructor PoissonDistributionImpl(double) seems to actually work. All of the others cause a NullPointerException. The working one creates a default NormalDistribution, but all of the others just leave the member "normal" set to null and cause an NPE in the constructor. > I can't even find a work around to construct a PoissonDistributionImpl with both a specified mean and an epsilon, since there is no way to set epsilon after creation and the constructor PoissonDistributionImpl(double p, double epsilon) does not work. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira