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/29 10:25:42 UTC
[commons-rng] 02/03: RNG-108: Fixed typo.
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
commit c31102e304d7a320fdab32b7a1d0e2fcdf5d3278
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Sat Jun 29 11:23:54 2019 +0100
RNG-108: Fixed typo.
---
.../java/org/apache/commons/rng/simple/internal/SeedFactoryTest.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/commons-rng-simple/src/test/java/org/apache/commons/rng/simple/internal/SeedFactoryTest.java b/commons-rng-simple/src/test/java/org/apache/commons/rng/simple/internal/SeedFactoryTest.java
index 296e00a..41e09ab 100644
--- a/commons-rng-simple/src/test/java/org/apache/commons/rng/simple/internal/SeedFactoryTest.java
+++ b/commons-rng-simple/src/test/java/org/apache/commons/rng/simple/internal/SeedFactoryTest.java
@@ -194,7 +194,7 @@ public class SeedFactoryTest {
// The reference distribution is Normal with a standard deviation of sqrt(n).
// Check the absolute position is not too far from the mean of 0 with a fixed
// p-value of 0.01 taken from a 2-tailed Normal distribution. Computation of
- // true p-value requires the complimentary error function.
+ // the p-value requires the complimentary error function.
final double absSum = Math.abs(sum);
final double max = Math.sqrt(numberOfBits) * 2.576;
Assert.assertTrue("Walked too far astray: " + absSum +