summaryrefslogtreecommitdiff
path: root/bindings/quackle.i
diff options
context:
space:
mode:
authorJohn Fultz <jfultz@wolfram.com>2019-08-06 08:58:52 -0500
committerJohn Fultz <jfultz@wolfram.com>2019-08-06 08:58:52 -0500
commitb50b9077ef61b71d9c0e66c3165198a7ab9a5672 (patch)
tree57e6f4c9bc8469289d43ed539613e48ac4586c74 /bindings/quackle.i
parent7d652051546a69f684cfea15c96c85a07391b0ee (diff)
Fix regression in simulator.
When I refactored the simming loop in Simulator::simulateOnePosition() using a ranged for, I mis-translated the value of the playerNumber variable. This resulted in the results of some plays being double-weighted. This fixes a bug where a 2-ply sim on the opening rack ACINPU? will favor non-bingo plays like UP or CUP rather than bingo plays like PANICUm or PUrANIC. The Championship Player uses a 2-ply sim, so the Championship Player could make some bone-headed plays with this regression.
Diffstat (limited to 'bindings/quackle.i')
0 files changed, 0 insertions, 0 deletions