commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject commons-rng git commit: Minor change (unit test).
Date Sun, 27 Nov 2016 06:35:43 GMT
Repository: commons-rng
Updated Branches:
  refs/heads/master c5bc47d64 -> 202a825c6


Minor change (unit test).


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

Branch: refs/heads/master
Commit: 202a825c6a860a4783de88e033959187deaf19c8
Parents: c5bc47d
Author: Gilles <erans@apache.org>
Authored: Sun Nov 27 07:34:52 2016 +0100
Committer: Gilles <erans@apache.org>
Committed: Sun Nov 27 07:34:52 2016 +0100

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


http://git-wip-us.apache.org/repos/asf/commons-rng/blob/202a825c/commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/DiscreteSamplersList.java
----------------------------------------------------------------------
diff --git a/commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/DiscreteSamplersList.java
b/commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/DiscreteSamplersList.java
index 994329f..2c02bdb 100644
--- a/commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/DiscreteSamplersList.java
+++ b/commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/DiscreteSamplersList.java
@@ -112,7 +112,7 @@ public class DiscreteSamplersList {
             // Poisson (40 < mean < 80).
             final double largeMeanPoisson = 67.89;
             add(LIST, new org.apache.commons.math3.distribution.PoissonDistribution(largeMeanPoisson),
-                MathArrays.sequence(100, (int) (largeMeanPoisson - 50), 1),
+                MathArrays.sequence(50, (int) (largeMeanPoisson - 25), 1),
                 new PoissonSampler(RandomSource.create(RandomSource.SPLIT_MIX_64), largeMeanPoisson));
             // Poisson (mean >> 40).
             final double veryLargeMeanPoisson = 543.21;


Mime
View raw message