]> git.sesse.net Git - stockfish/commit
Try hard to retrieve a ponder move
authorMarco Costalba <mcostalba@gmail.com>
Tue, 20 Jan 2015 08:13:30 +0000 (09:13 +0100)
committerJoona Kiiski <joona.kiiski@gmail.com>
Sat, 24 Jan 2015 19:35:31 +0000 (19:35 +0000)
commit44643c277007e3902586418541c0c22ff110fde1
treef8a71a231f3befb3cb51112492b7bcc7acecce28
parent97a034ad3e8b25f0e8e1dd03d31f4689180f7547
Try hard to retrieve a ponder move

In case we stop the search during a fail-high
it is possible we return to GUI without a ponder
move. This patch try harder to find a ponder move
retrieving it from TT. This is important in games
played with 'ponder on'.

bench: 8080602

Resolves #221
src/search.cpp
src/search.h