You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/01/13 19:48:42 UTC
[commons-rng] branch master updated: Javadoc fixes
This is an automated email from the ASF dual-hosted git repository.
ggregory 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 ada9bdc1 Javadoc fixes
ada9bdc1 is described below
commit ada9bdc199fc2d986081879327105f07b4b6162a
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Fri Jan 13 14:48:37 2023 -0500
Javadoc fixes
---
.../org/apache/commons/rng/sampling/distribution/StableSamplerTest.java | 2 +-
.../java/org/apache/commons/rng/simple/internal/ConversionsTest.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/StableSamplerTest.java b/commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/StableSamplerTest.java
index a1110be5..cf32008b 100644
--- a/commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/StableSamplerTest.java
+++ b/commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/StableSamplerTest.java
@@ -1809,7 +1809,7 @@ class StableSamplerTest {
* This uses a long values from the RNG.
* </ol>
*
- * <p>Careful control of the the sequence can generate any value for {@code w} and {@code phi/2}.
+ * <p>Careful control of the sequence can generate any value for {@code w} and {@code phi/2}.
* The sampler creates a uniform deviate first, then an exponential deviate second.
* Examples of different output where {@code d} is the gap between values of {@code phi/2}
* and is equal to {@code pi * 2^-55 = pi/4 * 2^-53}:
diff --git a/commons-rng-simple/src/test/java/org/apache/commons/rng/simple/internal/ConversionsTest.java b/commons-rng-simple/src/test/java/org/apache/commons/rng/simple/internal/ConversionsTest.java
index 46d1244b..2e2fc400 100644
--- a/commons-rng-simple/src/test/java/org/apache/commons/rng/simple/internal/ConversionsTest.java
+++ b/commons-rng-simple/src/test/java/org/apache/commons/rng/simple/internal/ConversionsTest.java
@@ -37,7 +37,7 @@ import org.junit.jupiter.params.provider.ValueSource;
*/
class ConversionsTest {
/**
- * The fractional part of the the golden ratio, phi, scaled to 64-bits and rounded to odd.
+ * The fractional part of the golden ratio, phi, scaled to 64-bits and rounded to odd.
* <pre>
* phi = (sqrt(5) - 1) / 2) * 2^64
* </pre>