We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 904a3df commit 144c9afCopy full SHA for 144c9af
src/model/model.class.ts
@@ -285,6 +285,9 @@ export class Model {
285
286
let partner = min + 1 == max ? min : Paul.chooseBetween(max, min, BIAS.REVERSE_BELL);
287
while (chosen == partner) {
288
+ // if chosen is same as partner
289
+ // randomize until it isn't
290
+ // this will work on condition: there are more than two choices in range.
291
partner = Paul.chooseBetween(max, min, BIAS.REVERSE_BELL);
292
}
293
0 commit comments