D-Programming-Language/phobos — pull request #542 by jerro (2012-04-18 05:25:10+00:00)
Title: Fixing issue 7936

This fixes the issue 7936. When the user passed a random generator to randomSample, gen was assinged after prime() was first called, so I moved gen assignment into the RandomSample constructor.