From b15185054c042153d0cf1b71ceb5c48dd4d18a13 Mon Sep 17 00:00:00 2001 From: tslil clingman Date: Wed, 20 Jan 2021 15:38:03 -0500 Subject: Can't stop half-way through turn --- include/minimax_cnn1986.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/minimax_cnn1986.c b/include/minimax_cnn1986.c index d13195d..7363b23 100644 --- a/include/minimax_cnn1986.c +++ b/include/minimax_cnn1986.c @@ -384,5 +384,5 @@ ct1986_minimax(const uint8_t cur_depth, const uint8_t max_depth, inline float ct1986_generate(const uint8_t max_depth) { - return ct1986_minimax(0, max_depth, (ply & 1) ? 0 : 1, -infty, infty); + return ct1986_minimax(0, 1+2*max_depth, (ply & 1) ? 0 : 1, -infty, infty); } -- cgit v1.2.3