You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2019/06/03 06:40:10 UTC
[commons-rng] branch master updated: Fix line length violation.
This is an automated email from the ASF dual-hosted git repository.
aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-rng.git
The following commit(s) were added to refs/heads/master by this push:
new 5960e4f Fix line length violation.
5960e4f is described below
commit 5960e4f0ed192f9544e75d3aa41d425a5bdf8184
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Mon Jun 3 07:40:03 2019 +0100
Fix line length violation.
---
.../rng/examples/jmh/distribution/DiscreteSamplersPerformance.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/commons-rng-examples/examples-jmh/src/main/java/org/apache/commons/rng/examples/jmh/distribution/DiscreteSamplersPerformance.java b/commons-rng-examples/examples-jmh/src/main/java/org/apache/commons/rng/examples/jmh/distribution/DiscreteSamplersPerformance.java
index 1e90a90..0a72b23 100644
--- a/commons-rng-examples/examples-jmh/src/main/java/org/apache/commons/rng/examples/jmh/distribution/DiscreteSamplersPerformance.java
+++ b/commons-rng-examples/examples-jmh/src/main/java/org/apache/commons/rng/examples/jmh/distribution/DiscreteSamplersPerformance.java
@@ -101,7 +101,8 @@ public class DiscreteSamplersPerformance {
} else if ("GeometricSampler".equals(samplerType)) {
sampler = new GeometricSampler(rng, 0.21);
} else if ("MarsagliaTsangWangDiscreteSampler".equals(samplerType)) {
- sampler = MarsagliaTsangWangDiscreteSampler.createDiscreteDistribution(rng, new double[] {0.1, 0.2, 0.3, 0.4});
+ sampler = MarsagliaTsangWangDiscreteSampler.createDiscreteDistribution(rng,
+ new double[] {0.1, 0.2, 0.3, 0.4});
} else if ("MarsagliaTsangWangPoissonSampler".equals(samplerType)) {
sampler = MarsagliaTsangWangDiscreteSampler.createPoissonDistribution(rng, 8.9);
} else if ("MarsagliaTsangWangBinomialSampler".equals(samplerType)) {