You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by er...@apache.org on 2018/08/04 18:41:50 UTC

[1/3] commons-rng git commit: Nit.

Repository: commons-rng
Updated Branches:
  refs/heads/master 1bab1832d -> 2a31d8764


Nit.


Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/4644028f
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/4644028f
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/4644028f

Branch: refs/heads/master
Commit: 4644028f96cb6c5a18bd5bf5996ef0048c55a529
Parents: 1bab183
Author: Gilles <er...@apache.org>
Authored: Sat Aug 4 19:20:21 2018 +0200
Committer: Gilles <er...@apache.org>
Committed: Sat Aug 4 19:20:21 2018 +0200

----------------------------------------------------------------------
 .../apache/commons/rng/sampling/distribution/PoissonSampler.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-rng/blob/4644028f/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/PoissonSampler.java
----------------------------------------------------------------------
diff --git a/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/PoissonSampler.java b/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/PoissonSampler.java
index a12cbb9..cd9187a 100644
--- a/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/PoissonSampler.java
+++ b/commons-rng-sampling/src/main/java/org/apache/commons/rng/sampling/distribution/PoissonSampler.java
@@ -45,7 +45,7 @@ public class PoissonSampler
     private final DiscreteSampler poissonSampler;
 
     /**
-     * @param rng  Generator of uniformly distributed random numbers.
+     * @param rng Generator of uniformly distributed random numbers.
      * @param mean Mean.
      * @throws IllegalArgumentException if {@code mean <= 0}.
      */


[3/3] commons-rng git commit: Allow 1 failure in sampling tests.

Posted by er...@apache.org.
Allow 1 failure in sampling tests.

Thanks to Rob for finding out about this trick.


Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/2a31d876
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/2a31d876
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/2a31d876

Branch: refs/heads/master
Commit: 2a31d8764facb77c8a3c301b0613078df8c93d13
Parents: edb3eed
Author: Gilles <er...@apache.org>
Authored: Sat Aug 4 20:40:12 2018 +0200
Committer: Gilles <er...@apache.org>
Committed: Sat Aug 4 20:40:12 2018 +0200

----------------------------------------------------------------------
 commons-rng-sampling/pom.xml | 12 ++++++++++++
 1 file changed, 12 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-rng/blob/2a31d876/commons-rng-sampling/pom.xml
----------------------------------------------------------------------
diff --git a/commons-rng-sampling/pom.xml b/commons-rng-sampling/pom.xml
index 29c6714..66d2f48 100644
--- a/commons-rng-sampling/pom.xml
+++ b/commons-rng-sampling/pom.xml
@@ -66,4 +66,16 @@
     </dependency>
   </dependencies>
 
+  <build>
+    <plugins>
+      <plugin>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <version>2.22.0</version>
+        <configuration>
+          <rerunFailingTestsCount>1</rerunFailingTestsCount>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
 </project>


[2/3] commons-rng git commit: RNG-50 will make it into version 1.1.

Posted by er...@apache.org.
RNG-50 will make it into version 1.1.


Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/edb3eed7
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/edb3eed7
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/edb3eed7

Branch: refs/heads/master
Commit: edb3eed76e5a50ddce94dd5510f0c9d2f54be35a
Parents: 4644028
Author: Gilles <er...@apache.org>
Authored: Sat Aug 4 20:39:19 2018 +0200
Committer: Gilles <er...@apache.org>
Committed: Sat Aug 4 20:39:19 2018 +0200

----------------------------------------------------------------------
 src/changes/changes.xml | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-rng/blob/edb3eed7/src/changes/changes.xml
----------------------------------------------------------------------
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index d202a20..262d7f6 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -71,14 +71,8 @@ Additional code is provided in the following module:
 It is however not part of the official API and no compatibility
 should be expected in subsequent releases.
 ">
-      <action dev="erans" type="update" issue="RNG-50" due-to="Alex D. Herbert">
-	"PoissonSampler": Algorithms for small mean and large mean have
-	been separated into dedicated classes.  Cache precomputation has
-	been disabled as it is only marginally used and is a performance
-	hit for small sampling sets.
-      </action>
     </release>
-    
+
     <release version="1.1" date="2018-08-05" description="
 This is a minor release of Apache Commons RNG, containing a
 few new features and performance improvements.
@@ -104,6 +98,12 @@ of random number generation.  The 'maven-surefire-plugin' can be configured
 to re-run tests that fail and pass the build if they succeed (the test will
 be marked as 'flaky' in the report).
 ">
+      <action dev="erans" type="update" issue="RNG-50" due-to="Alex D. Herbert">
+	"PoissonSampler": Algorithms for small mean and large mean have
+	been separated into dedicated classes.  Cache precomputation has
+	been disabled as it is only marginally used and is a performance
+	hit for small sampling sets.
+      </action>
       <action dev="erans" type="add" issue="RNG-37">
         Implementation of the "Ziggurat" algorithm for Gaussian sampling.
       </action>