]> git.sesse.net Git - stockfish/commitdiff
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)
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


No differences found