From 4c6b3c85e3bfa6f178342be5933673917969065c Mon Sep 17 00:00:00 2001 From: dhb <1084714805@qq.com> Date: Tue, 19 Mar 2024 19:30:39 +0800 Subject: [PATCH] Fix board size argument bug in selfplay [skip_fishtest] --- Rapfi/command/selfplay.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rapfi/command/selfplay.cpp b/Rapfi/command/selfplay.cpp index fa6b8140..b01c4164 100644 --- a/Rapfi/command/selfplay.cpp +++ b/Rapfi/command/selfplay.cpp @@ -230,7 +230,7 @@ void Command::selfplay(int argc, char *argv[]) else { boardSizeMin = boardSizeMax = args["boardsize"].as(); } - 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")) {