diff options
| author | tslil clingman <tslil@posteo.de> | 2021-01-20 15:38:03 -0500 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2021-01-20 15:38:03 -0500 |
| commit | 56ca7a12b278fb1e0ba77eb4959ab8c058b2503d (patch) | |
| tree | fef6a3a93ba47a38f55806daaa23f380ad21af96 /include | |
| parent | 1de581e669b6355a2427a07e3b6427a5c0247b35 (diff) | |
Can't stop half-way through turn
Diffstat (limited to 'include')
| -rw-r--r-- | include/minimax_cnn1986.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |
