Skip to content

Commit

Permalink
Merge pull request #862 from Jazeem:clobber-bugfix
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 456025081
Change-Id: I1ec846564c5c5f74ca7b8d99f96d11c186a9cb22
  • Loading branch information
lanctot committed Jun 20, 2022
2 parents 13d830a + 8204f0e commit 062cbfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion open_spiel/games/clobber.cc
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ void ClobberState::ObservationTensor(Player player,
SPIEL_CHECK_GE(player, 0);
SPIEL_CHECK_LT(player, num_players_);

TensorView<kCellStates> view(values, {kNumPlayers + 1, rows_, columns_},
TensorView<3> view(values, {kCellStates, rows_, columns_},
true);

// Observation Tensor Representation:
Expand Down

0 comments on commit 062cbfc

Please sign in to comment.