Fix randomness sampling (#83)

Merged Loïc Bidoux requested to merge PR-83 into next-release

Merge request reports