[phobos] [D-Programming-Language/phobos] fbc8d1: Fix Issue 11738 - partialShuffle should actually _...
GitHub
noreply at github.com
Sun Dec 15 15:23:59 PST 2013
Branch: refs/heads/master
Home: https://github.com/D-Programming-Language/phobos
Commit: fbc8d1e08e122acb04306a21f73a3c5dd936a350
https://github.com/D-Programming-Language/phobos/commit/fbc8d1e08e122acb04306a21f73a3c5dd936a350
Author: Joseph Rushton Wakeling <joe at webdrake.net>
Date: 2013-12-14 (Sat, 14 Dec 2013)
Changed paths:
M std/random.d
Log Message:
-----------
Fix Issue 11738 - partialShuffle should actually _be_ a partial shuffle :-)
This patch fixes the problem that partialShuffle was in fact invariably
shuffling the whole of the input, undetected because there were unittests
only for randomShuffle.
As well as the fix I've added some unittests specifically for partialShuffle
to ensure that it works properly, and I've taken the opportunity to tweak a
couple of bits of Ddoc and tidy up the randomShuffle unittests.
Commit: 277ce347e917747fb048b3933100a9bd8fd768fe
https://github.com/D-Programming-Language/phobos/commit/277ce347e917747fb048b3933100a9bd8fd768fe
Author: Martin Nowak <code at dawg.eu>
Date: 2013-12-15 (Sun, 15 Dec 2013)
Changed paths:
M std/random.d
Log Message:
-----------
Merge pull request #1773 from WebDrake/partial-shuffle
Fix Issue 11738 - partialShuffle should actually _be_ a partial shuffle :-)
Compare: https://github.com/D-Programming-Language/phobos/compare/39652cbd7070...277ce347e917
More information about the phobos
mailing list