commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject [math] [MATH-1209] Fix link to algorithm description in PoissonDistribution#sample(). Thanks to Jonathan Ogilvie
Date Wed, 11 Mar 2015 21:13:40 GMT
Repository: commons-math
Updated Branches:
  refs/heads/MATH_3_X 13abd04b4 -> 502335307


[MATH-1209] Fix link to algorithm description in PoissonDistribution#sample(). Thanks to Jonathan
Ogilvie


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

Branch: refs/heads/MATH_3_X
Commit: 502335307709b17707d5c28707d668544c85d839
Parents: 13abd04
Author: Thomas Neidhart <thomas.neidhart@gmail.com>
Authored: Wed Mar 11 22:13:22 2015 +0100
Committer: Thomas Neidhart <thomas.neidhart@gmail.com>
Committed: Wed Mar 11 22:13:22 2015 +0100

----------------------------------------------------------------------
 src/changes/changes.xml                                           | 3 +++
 .../apache/commons/math3/distribution/PoissonDistribution.java    | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-math/blob/50233530/src/changes/changes.xml
----------------------------------------------------------------------
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index d976897..f1595c2 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -54,6 +54,9 @@ If the output is not quite correct, check for invisible trailing spaces!
     </release>
 
     <release version="3.5" date="2015-01-11" description="">
+      <action dev="tn" type="fix" issue="MATH-1209" due-to="Jonathan Ogilvie">
+        Fixed link to algorithm description in "PoissonDistribution#sample()".
+      </action>    
       <action dev="psteitz" type="fix" issue="MATH-1208">
         EmpiricalDistribution cumulativeProbability can return NaN when evaluated within
a constant bin.
       </action>

http://git-wip-us.apache.org/repos/asf/commons-math/blob/50233530/src/main/java/org/apache/commons/math3/distribution/PoissonDistribution.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math3/distribution/PoissonDistribution.java
b/src/main/java/org/apache/commons/math3/distribution/PoissonDistribution.java
index 0d885e9..7765913 100644
--- a/src/main/java/org/apache/commons/math3/distribution/PoissonDistribution.java
+++ b/src/main/java/org/apache/commons/math3/distribution/PoissonDistribution.java
@@ -283,7 +283,7 @@ public class PoissonDistribution extends AbstractIntegerDistribution {
      * <ul>
      *  <li>For small means, uses simulation of a Poisson process
      *   using Uniform deviates, as described
-     *   <a href="http://irmi.epfl.ch/cmos/Pmmi/interactive/rng7.htm"> here</a>.
+     *   <a href="http://mathaa.epfl.ch/cours/PMMI2001/interactive/rng7.htm"> here</a>.
      *   The Poisson process (and hence value returned) is bounded by 1000 * mean.
      *  </li>
      *  <li>For large means, uses the rejection algorithm described in


Mime
View raw message