Skip to content

Commit

Permalink
Fix board size argument bug in selfplay
Browse files Browse the repository at this point in the history
[skip_fishtest]
  • Loading branch information
dhbloo committed Mar 19, 2024
1 parent 5b5208e commit 4c6b3c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rapfi/command/selfplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ void Command::selfplay(int argc, char *argv[])
else {
boardSizeMin = boardSizeMax = args["boardsize"].as<int>();
}
if (boardSizeMin < 5 || boardSizeMax > 20)
if (boardSizeMin < 5 || boardSizeMax > 22)
throw std::invalid_argument("board size must in range [5,22]");

if (args.count("opening")) {
Expand Down

0 comments on commit 4c6b3c8

Please sign in to comment.