Skip to content

Commit

Permalink
Remove enforced bias
Browse files Browse the repository at this point in the history
  • Loading branch information
dubzzz committed May 10, 2018
1 parent 44d0feb commit cc54226
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/check/runner/Tosser.ts
Expand Up @@ -12,11 +12,10 @@ function lazyGenerate<Ts>(generator: IProperty<Ts>, rng: prand.RandomGenerator,

/** @hidden */
export default function* toss<Ts>(generator: IProperty<Ts>, seed: number): IterableIterator<() => Shrinkable<Ts>> {
let idx = 0;
let rng = prand.mersenne(seed);
for (;;) {
rng = prand.skipN(rng, 42);
yield lazyGenerate(generator, rng, idx++);
yield lazyGenerate(generator, rng);
}
}

Expand Down

0 comments on commit cc54226

Please sign in to comment.