Return-Path: Delivered-To: apmail-commons-dev-archive@www.apache.org Received: (qmail 15693 invoked from network); 1 Feb 2008 22:52:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Feb 2008 22:52:09 -0000 Received: (qmail 60414 invoked by uid 500); 1 Feb 2008 22:52:00 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 59893 invoked by uid 500); 1 Feb 2008 22:51:58 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 59884 invoked by uid 99); 1 Feb 2008 22:51:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Feb 2008 14:51:58 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of phil.steitz@gmail.com designates 72.14.214.231 as permitted sender) Received: from [72.14.214.231] (HELO hu-out-0506.google.com) (72.14.214.231) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Feb 2008 22:51:31 +0000 Received: by hu-out-0506.google.com with SMTP id 38so1362917huc.5 for ; Fri, 01 Feb 2008 14:51:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=bouxUB0z7J4ac3G0un+cc1p+Hf97Rcaq8islfey5vM8=; b=ofPqyE5R7K1SRTUP8eN7UU8Jp9F6BETwV28qyG8yOkfK4jzXF0JQx5idQvHuSGs5Xz/cZ3zfDsrf+h1Fu+9G0OTFHRoOcLy0mOqeQDv/5PYz1T6fHAsM3r++DCbt7HYX1syY/Z1PD4TCbYBAeGEtas3mfdRkXT7NBputKKvLhSg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=XFyEPr5cB2UjQz5uYkACtFbfovXP5w4sS9OASLhjvYWD0zggC1G5SI8QwN5aG0GjzAFgcjoowIHV0GLk13eq4yrO0gzO4MRm8jriB1arsaHhV2aJIxbMsIaiPdi8c9p6NAFM9yh7wcHa+QmlmY/BCPoT+Ywb/VSGPn4UxSC/NSY= Received: by 10.78.147.6 with SMTP id u6mr7230057hud.59.1201906296771; Fri, 01 Feb 2008 14:51:36 -0800 (PST) Received: by 10.78.106.15 with HTTP; Fri, 1 Feb 2008 14:51:36 -0800 (PST) Message-ID: <8a81b4af0802011451ld115ea2pd055e7e0c8480202@mail.gmail.com> Date: Fri, 1 Feb 2008 15:51:36 -0700 From: "Phil Steitz" To: "Jakarta Commons Developers List" Subject: Re: [math] bug: cumulativeProbability((double)x, (double)x) returns 0 for discrete / integer distributions In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <8a81b4af0802011357i7148b5feq476dea51d8e47c40@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org On 2/1/08, Yegor Bryukhov wrote: > done, MATH-184 > > as for a patch, yesterday I tried to download Maven 1.0.2 from Apache > mirrors to build the library but could not find a single mirror where > it would still be available. And Maven 1.1 complains about > "Unrecognised tag: 'optional'" in project.xml > :( > You can build [math] using maven 2, which is now the primary build platform for this component. The Ant build should also work. Maven 1.0.2 is still also available here: http://maven.apache.org/maven-1.x/start/download.html Thanks! Phil > On Feb 1, 2008 4:57 PM, Phil Steitz wrote: > > On 2/1/08, Yegor Bryukhov wrote: > > > cumulativeProbability((double)x, (double)x) returns 0 for > > > discrete/integer distributions > > > > > > I suppose AbstractIntegerDistribution.cumulativeProbability(double, > > > double) should be overridden to call its (int, int) version instead of > > > using default one from AbstractDistribution > > > > > > > Thanks for reporting this. Can you please open a bug report using the > > link below to track this? > > > > http://commons.apache.org/math/issue-tracking.html > > > > You can also attach a patch (including failing test case) there if you > > have time / interest. In any case, thanks again for the feedback. > > > > Phil > > > > > -- > > > Best regards, > > > Yegor > > > __________________________________________________________ > > > Yegor Bryukhov, > > > Research Associate > > > Center for Algorithms and Interactive Scientific Software > > > City College of New York > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > > > For additional commands, e-mail: dev-help@commons.apache.org > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > > For additional commands, e-mail: dev-help@commons.apache.org > > > > > > > > -- > Best regards, > Yegor > __________________________________________________________ > Yegor Bryukhov, > Research Associate > Center for Algorithms and Interactive Scientific Software > City College of New York > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > For additional commands, e-mail: dev-help@commons.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org