From fb88e67bb1db551524a17231b458cb16db1aa115 Mon Sep 17 00:00:00 2001 From: Sebastien Brisard Date: Wed, 9 May 2012 10:27:04 +0000 Subject: [PATCH] Reverted changes accidentally committed in r1334315. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1336056 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/java/org/apache/commons/math3/special/Gamma.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/main/java/org/apache/commons/math3/special/Gamma.java b/src/main/java/org/apache/commons/math3/special/Gamma.java index 2db765638..dee373a40 100644 --- a/src/main/java/org/apache/commons/math3/special/Gamma.java +++ b/src/main/java/org/apache/commons/math3/special/Gamma.java @@ -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]; - } }