[Issue 11738] partialShuffle actually shuffles the entire input
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Dec 15 15:24:16 PST 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11738
--- Comment #1 from github-bugzilla at puremagic.com 2013-12-15 15:24:13 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos
https://github.com/D-Programming-Language/phobos/commit/fbc8d1e08e122acb04306a21f73a3c5dd936a350
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.
https://github.com/D-Programming-Language/phobos/commit/277ce347e917747fb048b3933100a9bd8fd768fe
Merge pull request #1773 from WebDrake/partial-shuffle
Fix Issue 11738 - partialShuffle should actually _be_ a partial shuffle :-)
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list