summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Sheppard <kevin.k.sheppard@gmail.com>2020-05-05 10:24:33 +0100
committerKevin Sheppard <kevin.sheppard@gmail.com>2020-05-12 22:39:47 +0100
commit344f0f2868de77ab647de58f831a84db3b84c532 (patch)
treec59540c3e33735d0792fa66a04d529d5deea7c51
parentb79be4888136c43805307c0151068089c68dd43c (diff)
downloadnumpy-344f0f2868de77ab647de58f831a84db3b84c532.tar.gz
DOC: Add release note
Add note detailing the changes to MT19937 jumped
-rw-r--r--doc/release/upcoming_changes/16153.change.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/release/upcoming_changes/16153.change.rst b/doc/release/upcoming_changes/16153.change.rst
new file mode 100644
index 000000000..6612ff75d
--- /dev/null
+++ b/doc/release/upcoming_changes/16153.change.rst
@@ -0,0 +1,10 @@
+Fixed the jumping implementation in ``MT19937.jumped``
+------------------------------------------------------
+
+This fix changes the stream produced from jumped MT19937 generators. It does
+not affect the stream produced using ``RandomState`` or ``MT19937`` that
+are directly seeded.
+
+The translation of the jumping code for the MT19937 contained a reversed loop
+ordering. ``MT19937.jumped`` matches the Makoto Matsumoto's original
+implementation of the Horner and Sliding Window jump methods.