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 2021/06/29 14:08:50 UTC
[commons-rng] branch master updated: Fixed checkstyle indentation
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 d597294 Fixed checkstyle indentation
d597294 is described below
commit d5972940bc96f5f8d4fec80c61f2318897d07b70
Author: aherbert <ah...@apache.org>
AuthorDate: Tue Jun 29 15:08:46 2021 +0100
Fixed checkstyle indentation
---
.../jmh/sampling/distribution/ContinuousSamplersPerformance.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/commons-rng-examples/examples-jmh/src/main/java/org/apache/commons/rng/examples/jmh/sampling/distribution/ContinuousSamplersPerformance.java b/commons-rng-examples/examples-jmh/src/main/java/org/apache/commons/rng/examples/jmh/sampling/distribution/ContinuousSamplersPerformance.java
index 9eb3754..2adbd7b 100644
--- a/commons-rng-examples/examples-jmh/src/main/java/org/apache/commons/rng/examples/jmh/sampling/distribution/ContinuousSamplersPerformance.java
+++ b/commons-rng-examples/examples-jmh/src/main/java/org/apache/commons/rng/examples/jmh/sampling/distribution/ContinuousSamplersPerformance.java
@@ -117,10 +117,10 @@ public class ContinuousSamplersPerformance {
// This tests the Ahrens-Dieter algorithm since alpha < 1
sampler = AhrensDieterMarsagliaTsangGammaSampler.of(rng, 0.76, 9.8);
} else if ("MarsagliaTsangGammaSampler".equals(samplerType)) {
- // This tests the Marsaglia-Tsang algorithm since alpha > 1
- sampler = AhrensDieterMarsagliaTsangGammaSampler.of(rng, 12.34, 9.8);
+ // This tests the Marsaglia-Tsang algorithm since alpha > 1
+ sampler = AhrensDieterMarsagliaTsangGammaSampler.of(rng, 12.34, 9.8);
} else if ("LevySampler".equals(samplerType)) {
- sampler = LevySampler.of(rng, 1.23, 4.56);
+ sampler = LevySampler.of(rng, 1.23, 4.56);
} else if ("LogNormalBoxMullerNormalizedGaussianSampler".equals(samplerType)) {
sampler = LogNormalSampler.of(BoxMullerNormalizedGaussianSampler.of(rng), 12.3, 4.6);
} else if ("LogNormalMarsagliaNormalizedGaussianSampler".equals(samplerType)) {