Return-Path: X-Original-To: apmail-commons-commits-archive@minotaur.apache.org Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DCC629AB4 for ; Wed, 9 May 2012 10:27:28 +0000 (UTC) Received: (qmail 54863 invoked by uid 500); 9 May 2012 10:27:28 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 54484 invoked by uid 500); 9 May 2012 10:27:26 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 54462 invoked by uid 99); 9 May 2012 10:27:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 May 2012 10:27:26 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 May 2012 10:27:25 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 0C04E23889FA for ; Wed, 9 May 2012 10:27:05 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1336056 - /commons/proper/math/trunk/src/main/java/org/apache/commons/math3/special/Gamma.java Date: Wed, 09 May 2012 10:27:04 -0000 To: commits@commons.apache.org From: celestin@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120509102705.0C04E23889FA@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: celestin Date: Wed May 9 10:27:04 2012 New Revision: 1336056 URL: http://svn.apache.org/viewvc?rev=1336056&view=rev Log: Reverted changes accidentally committed in r1334315. Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/special/Gamma.java Modified: commons/proper/math/trunk/src/main/java/org/apache/commons/math3/special/Gamma.java URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/main/java/org/apache/commons/math3/special/Gamma.java?rev=1336056&r1=1336055&r2=1336056&view=diff ============================================================================== --- commons/proper/math/trunk/src/main/java/org/apache/commons/math3/special/Gamma.java (original) +++ commons/proper/math/trunk/src/main/java/org/apache/commons/math3/special/Gamma.java Wed May 9 10:27:04 2012 @@ -325,12 +325,4 @@ public class Gamma { return trigamma(x + 1) + 1 / (x * x); } - - public static double lanczos(final double x){ - double sum = 0.0; - for (int i = LANCZOS.length - 1; i > 0; --i) { - sum = sum + (LANCZOS[i] / (x + i)); - } - return sum + LANCZOS[0]; - } }