Skip to content

Commit

Permalink
Fix bug with command-line arguments.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 684440804
Change-Id: Iedb269b404ba09377fe923373b67aed6167a4764
  • Loading branch information
lanctot committed Oct 10, 2024
1 parent 4a191b4 commit 193220c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion open_spiel/examples/count_all_states.cc
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ int main(int argc, char** argv) {
absl::ParseCommandLine(argc, argv);
std::string game_name = absl::GetFlag(FLAGS_game_string);
std::shared_ptr<const open_spiel::Game> game =
open_spiel::LoadGame(absl::GetFlag(game_name));
open_spiel::LoadGame(game_name);
std::vector<std::unique_ptr<open_spiel::State>> all_histories =
GetAllHistories(*game, /*depth_limit=*/-1, /*include_terminals=*/true,
/*include_chance_states=*/true);
Expand Down

0 comments on commit 193220c

Please sign in to comment.