commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject [1/2] commons-rng git commit: Revert internal sampler class.
Date Sun, 09 Apr 2017 11:34:02 GMT
Repository: commons-rng
Updated Branches:
  refs/heads/master 6c8e3cbf9 -> 449458819


Revert internal sampler class.


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

Branch: refs/heads/master
Commit: c1a2b82b78451f5be96c700cec5d43444a32a24f
Parents: 6c8e3cb
Author: Gilles <erans@apache.org>
Authored: Sat Apr 8 16:54:45 2017 +0200
Committer: Gilles <erans@apache.org>
Committed: Sat Apr 8 16:54:45 2017 +0200

----------------------------------------------------------------------
 .../rng/sampling/distribution/BoxMullerLogNormalSampler.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-rng/blob/c1a2b82b/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/BoxMullerLogNormalSampler.java
----------------------------------------------------------------------
diff --git a/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/BoxMullerLogNormalSampler.java
b/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/BoxMullerLogNormalSampler.java
index e793e38..354b8d4 100644
--- a/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/BoxMullerLogNormalSampler.java
+++ b/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/BoxMullerLogNormalSampler.java
@@ -43,7 +43,7 @@ public class BoxMullerLogNormalSampler
         super(null); // Not used.
         this.scale = scale;
         this.shape = shape;
-        gaussian = new MarsagliaNormalizedGaussianSampler(rng);
+        gaussian = new BoxMullerNormalizedGaussianSampler(rng);
     }
 
     /** {@inheritDoc} */


Mime
View raw message