You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by oe...@apache.org on 2015/10/27 20:45:58 UTC

[2/2] [math] MATH-1285: replaced inappropriate reference to MathWorld by reference to Wikipedia's article about Zipf's law, thanks to Pim van der Hoorn for reporting this issue

MATH-1285: replaced inappropriate reference to MathWorld by reference to
Wikipedia's article about Zipf's law, thanks to  Pim van der Hoorn for
reporting this issue

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

Branch: refs/heads/MATH_3_X
Commit: 5f03f0d702574a9c5655778ee28fe3e23d86a9b0
Parents: 40f35da
Author: Otmar Ertl <ot...@gmail.com>
Authored: Tue Oct 27 20:40:24 2015 +0100
Committer: Otmar Ertl <ot...@gmail.com>
Committed: Tue Oct 27 20:40:24 2015 +0100

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


http://git-wip-us.apache.org/repos/asf/commons-math/blob/5f03f0d7/src/changes/changes.xml
----------------------------------------------------------------------
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 7a019df..2107a8a 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -51,6 +51,9 @@ If the output is not quite correct, check for invisible trailing spaces!
   </properties>
   <body>
     <release version="3.6" date="XXXX-XX-XX" description="">
+      <action dev="oertl" type="fix" issue="MATH-1285" due-to="Pim van der Hoorn ">
+        Updated reference in ZipfDistribution's javadoc.
+      </action>
       <action dev="tn" type="fix" issue="MATH-1283" due-to="Jean Noel Delavalade">
         Fixed "Gamma#gamma(double)" for negative values smaller than -20.
       </action>    

http://git-wip-us.apache.org/repos/asf/commons-math/blob/5f03f0d7/src/main/java/org/apache/commons/math3/distribution/ZipfDistribution.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/math3/distribution/ZipfDistribution.java b/src/main/java/org/apache/commons/math3/distribution/ZipfDistribution.java
index cca312a..4538a3a 100644
--- a/src/main/java/org/apache/commons/math3/distribution/ZipfDistribution.java
+++ b/src/main/java/org/apache/commons/math3/distribution/ZipfDistribution.java
@@ -26,7 +26,7 @@ import org.apache.commons.math3.util.FastMath;
 /**
  * Implementation of the Zipf distribution.
  *
- * @see <a href="http://mathworld.wolfram.com/ZipfDistribution.html">Zipf distribution (MathWorld)</a>
+ * @see <a href="https://en.wikipedia.org/wiki/Zipf's_law">Zipf's law (Wikipedia)</a>
  */
 public class ZipfDistribution extends AbstractIntegerDistribution {
     /** Serializable version identifier. */