]> git.sesse.net Git - stockfish/commit
Save stalemates in TT
authorMarco Costalba <mcostalba@gmail.com>
Sun, 11 May 2014 08:56:25 +0000 (10:56 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 11 May 2014 08:56:25 +0000 (10:56 +0200)
commit696d6cedb9b1fc6e588d5cc586dc5cf3ee59c9e5
tree88a0ecc826e1cb107e7bafd48c325d7aa5378445
parent9f843adf8972f3b561fc75d5d874ff21063a9f9d
Save stalemates in TT

When there aren't legal moves after
a search, instead of returning imediately,
save bestValue in TT as in the usual case.

There is really no reason to special case
this one.

With this patch is fully fixed (again) follwing
position:

    7k/6p1/6B1/5K1P/8/8/8/8 w - - 0 1

Also in SMP case.

bench: 8802105
src/search.cpp