Repository: commons-math Updated Branches: refs/heads/MATH_3_X 40f35da56 -> 5f03f0d70 refs/heads/master 9e0c5ad4b -> 8ed2209b1
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/8ed2209b Tree: http://git-wip-us.apache.org/repos/asf/commons-math/tree/8ed2209b Diff: http://git-wip-us.apache.org/repos/asf/commons-math/diff/8ed2209b Branch: refs/heads/master Commit: 8ed2209b1f8e2452d71ef8c3149f3ed3d89d4dfa Parents: 9e0c5ad Author: Otmar Ertl <otmar.e...@gmail.com> Authored: Tue Oct 27 20:24:34 2015 +0100 Committer: Otmar Ertl <otmar.e...@gmail.com> Committed: Tue Oct 27 20:33:39 2015 +0100 ---------------------------------------------------------------------- src/changes/changes.xml | 3 +++ .../org/apache/commons/math4/distribution/ZipfDistribution.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-math/blob/8ed2209b/src/changes/changes.xml ---------------------------------------------------------------------- diff --git a/src/changes/changes.xml b/src/changes/changes.xml index e18ba9f..55a8fcb 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="4.0" date="XXXX-XX-XX" description=""> + <action dev="oertl" type="fix" issue="MATH-1285" due-to="Pim van der Hoorn "> <!-- backported to 3.6 --> + Updated reference in ZipfDistribution's javadoc. + </action> <action dev="tn" type="fix" issue="MATH-1283" due-to="Jean Noel Delavalade"> <!-- backported to 3.6 --> Fixed "Gamma#gamma(double)" for negative values smaller than -20. </action> http://git-wip-us.apache.org/repos/asf/commons-math/blob/8ed2209b/src/main/java/org/apache/commons/math4/distribution/ZipfDistribution.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/math4/distribution/ZipfDistribution.java b/src/main/java/org/apache/commons/math4/distribution/ZipfDistribution.java index 7fd62e1..5e7018c 100644 --- a/src/main/java/org/apache/commons/math4/distribution/ZipfDistribution.java +++ b/src/main/java/org/apache/commons/math4/distribution/ZipfDistribution.java @@ -26,7 +26,7 @@ import org.apache.commons.math4.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. */