]> git.sesse.net Git - stockfish/commitdiff
Ensure that rootDepth < DEPTH_MAX
authorlucasart <lucas.braesch@gmail.com>
Sat, 7 Nov 2015 04:19:13 +0000 (12:19 +0800)
committerJoona Kiiski <joona@zoox.com>
Tue, 10 Nov 2015 21:41:42 +0000 (21:41 +0000)
Indeed, if we use a depth >= DEPTH_MAX, we start having negative depth in the
TT (due to int8_t cast).

No functional change in single thread mode

Resolves #490


No differences found