[phobos] [D-Programming-Language/phobos] e86bc6: Fix Issue 9607 - std.random.randomShuffle() and pa...
GitHub
noreply at github.com
Mon Jul 15 15:16:06 PDT 2013
Branch: refs/heads/master
Home: https://github.com/D-Programming-Language/phobos
Commit: e86bc65639036d240d5ec6ce0254ccebee097943
https://github.com/D-Programming-Language/phobos/commit/e86bc65639036d240d5ec6ce0254ccebee097943
Author: Joseph Rushton Wakeling <joe at webdrake.net>
Date: 2013-06-22 (Sat, 22 Jun 2013)
Changed paths:
M std/random.d
Log Message:
-----------
Fix Issue 9607 - std.random.randomShuffle() and partialShuffle()
don't work with Xorshift.
This is an instance of Issue 2803, a clash between a template
parameter and a default argument. I've used the workaround
proposed in that issue thread:
http://d.puremagic.com/issues/show_bug.cgi?id=2803#c1
Tests have been included to ensure that these functions work
with all possible RNG types.
Commit: 32b11031a4297351dfc4a509a77cc8929e869cef
https://github.com/D-Programming-Language/phobos/commit/32b11031a4297351dfc4a509a77cc8929e869cef
Author: Joseph Rushton Wakeling <joe at webdrake.net>
Date: 2013-06-22 (Sat, 22 Jun 2013)
Changed paths:
M std/random.d
Log Message:
-----------
Restrict PseudoRngTypes access to package level.
Commit: 443b54e30b4b67b8968ecde51dcae66c855c135b
https://github.com/D-Programming-Language/phobos/commit/443b54e30b4b67b8968ecde51dcae66c855c135b
Author: Andrej Mitrovic <andrej.mitrovich at gmail.com>
Date: 2013-07-15 (Mon, 15 Jul 2013)
Changed paths:
M std/random.d
Log Message:
-----------
Merge pull request #1362 from WebDrake/randomshuffle
Fix Issue 9607 - std.random.randomShuffle() and partialShuffle() don't work with Xorshift.
Compare: https://github.com/D-Programming-Language/phobos/compare/50c7b2095935...443b54e30b4b
More information about the phobos
mailing list