Update bestValue when futility pruning
authorMarco Costalba <mcostalba@gmail.com>
Mon, 26 Nov 2012 15:13:36 +0000 (16:13 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Mon, 26 Nov 2012 15:13:36 +0000 (16:13 +0100)
commit5af8179647b9e80353cb8f532990cae572ba6412
treee129ab9ae2eb121aa2653c9ac514cc906e41b2c4
parent55df3fa2d7631ed67e46f9433aa7f3a71c18e5e7
Update bestValue when futility pruning

In qsearch we should update the bestValue as we do
in case of futilityValue < beta, also when pruning
moves with non-positive see.

Spotted by Lucas Braesch

Bench: 5695710
src/search.cpp