Skip to content

Commit

Permalink
Merge pull request google-deepmind#1019 from VitamintK:fix-acpc-maxga…
Browse files Browse the repository at this point in the history
…melength

PiperOrigin-RevId: 515647027
Change-Id: Ibfb21f27eb4b1682bcef345b28609241dfaf85a6
  • Loading branch information
lanctot committed Mar 13, 2023
2 parents ea5b2b1 + e6f33fe commit 59bfea3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion open_spiel/games/universal_poker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1087,7 +1087,7 @@ int UniversalPokerGame::MaxGameLength() const {
maxStack =
acpc_game_.StackSize(p) > maxStack ? acpc_game_.StackSize(p) : maxStack;
maxBlind =
acpc_game_.BlindSize(p) > maxStack ? acpc_game_.BlindSize(p) : maxBlind;
acpc_game_.BlindSize(p) > maxBlind ? acpc_game_.BlindSize(p) : maxBlind;
}

while (maxStack > maxBlind) {
Expand Down
Loading

0 comments on commit 59bfea3

Please sign in to comment.