]> git.sesse.net Git - stockfish/commit
Don't save stale value in TT after split
authorMarco Costalba <mcostalba@gmail.com>
Thu, 1 May 2014 14:25:17 +0000 (16:25 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Thu, 1 May 2014 14:26:18 +0000 (16:26 +0200)
commitbee4f1cf09132375e1d151c4c0bccb2f9fc38d29
tree9f8b5db81f9928f5be19950bfee26ef96b714d6f
parentda91a34c09b855dd5e4163d77c21a8a95e5c01be
Don't save stale value in TT after split

If we return from split with a stale value
due to a stop or a cutoff upstream occurred,
then we exit moves loop and save a stale value
in TT before returning search().

This patch, from Joona, fixes this.

bench: 8678654
src/search.cpp