commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject [6/6] [math] Missing Javadoc comment.
Date Sun, 21 May 2017 23:29:17 GMT
Missing Javadoc comment.


Project: http://git-wip-us.apache.org/repos/asf/commons-math/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-math/commit/97dc91d1
Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/97dc91d1
Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/97dc91d1

Branch: refs/heads/master
Commit: 97dc91d1545a667b4021b6507d927799e53964da
Parents: f10bd41
Author: Gilles <erans@apache.org>
Authored: Mon May 22 01:27:36 2017 +0200
Committer: Gilles <erans@apache.org>
Committed: Mon May 22 01:27:36 2017 +0200

----------------------------------------------------------------------
 .../org/apache/commons/math4/distribution/GammaDistribution.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-math/blob/97dc91d1/src/main/java/org/apache/commons/math4/distribution/GammaDistribution.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math4/distribution/GammaDistribution.java b/src/main/java/org/apache/commons/math4/distribution/GammaDistribution.java
index 4b66e21..218c230 100644
--- a/src/main/java/org/apache/commons/math4/distribution/GammaDistribution.java
+++ b/src/main/java/org/apache/commons/math4/distribution/GammaDistribution.java
@@ -32,12 +32,13 @@ import org.apache.commons.rng.sampling.distribution.AhrensDieterMarsagliaTsangGa
  * @see <a href="http://mathworld.wolfram.com/GammaDistribution.html">Gamma distribution
(MathWorld)</a>
  */
 public class GammaDistribution extends AbstractRealDistribution {
-    private static final double LANCZOS_G = LanczosApproximation.g();
     /**
      * Default inverse cumulative probability accuracy.
      * @since 2.1
      */
     public static final double DEFAULT_INVERSE_ABSOLUTE_ACCURACY = 1e-9;
+    /** Lanczos constant. */
+    private static final double LANCZOS_G = LanczosApproximation.g();
     /** Serializable version identifier. */
     private static final long serialVersionUID = 20160311L;
     /** The shape parameter. */


Mime
View raw message