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 2020/02/17 23:39:39 UTC
[commons-rng] branch master updated: Remove invalid javadoc tags.
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 0118c79 Remove invalid javadoc tags.
0118c79 is described below
commit 0118c79dbb64d1016d74e5ba664ced2b91b11767
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Mon Feb 17 23:39:35 2020 +0000
Remove invalid javadoc tags.
---
.../org/apache/commons/rng/core/source64/TwoCmres.java | 14 +++++++-------
.../distribution/AhrensDieterExponentialSampler.java | 14 +++++++-------
2 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/commons-rng-core/src/main/java/org/apache/commons/rng/core/source64/TwoCmres.java b/commons-rng-core/src/main/java/org/apache/commons/rng/core/source64/TwoCmres.java
index 3be063f..9acdc5d 100644
--- a/commons-rng-core/src/main/java/org/apache/commons/rng/core/source64/TwoCmres.java
+++ b/commons-rng-core/src/main/java/org/apache/commons/rng/core/source64/TwoCmres.java
@@ -228,13 +228,13 @@ public class TwoCmres extends LongProvider {
/** List of good "Cmres" subcycle generators. */
private static final List<Cmres> TABLE = new ArrayList<Cmres>();
- /*
- * Populates the table.
- * It lists parameters known to be good (provided in
- * the article referred to above).
- * To maintain compatibility, new entries must be added
- * only at the end of the table.
- */
+ //
+ // Populates the table.
+ // It lists parameters known to be good (provided in
+ // the article referred to above).
+ // To maintain compatibility, new entries must be added
+ // only at the end of the table.
+ //
static {
add(0xedce446814d3b3d9L, 33, 0x13b572e7);
add(0xc5b3cf786c806df7L, 33, 0x13c8e18a);
diff --git a/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/AhrensDieterExponentialSampler.java b/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/AhrensDieterExponentialSampler.java
index 54898b0..6ae1850 100644
--- a/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/AhrensDieterExponentialSampler.java
+++ b/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/AhrensDieterExponentialSampler.java
@@ -46,14 +46,14 @@ public class AhrensDieterExponentialSampler
/** Underlying source of randomness. */
private final UniformRandomProvider rng;
- /**
- * Initialize tables.
- */
+ //
+ // Initialize tables.
+ //
static {
- /**
- * Filling EXPONENTIAL_SA_QI table.
- * Note that we don't want qi = 0 in the table.
- */
+ //
+ // Filling EXPONENTIAL_SA_QI table.
+ // Note that we don't want qi = 0 in the table.
+ //
final double ln2 = Math.log(2);
double qi = 0;