1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 08:43:09 +00:00

Make use of asymmetric SEE

This commit is contained in:
Joona Kiiski 2013-03-30 20:01:49 +00:00
parent d3c3c4f8e7
commit 7bad50773a

View file

@ -1228,7 +1228,7 @@ split_point_start: // At split points actual search starts from here
// Prune moves with negative or equal SEE
if ( futilityBase < beta
&& depth < DEPTH_ZERO
&& pos.see(move) <= 0)
&& pos.see_asymm(move, beta - futilityBase) <= 0)
{
bestValue = std::max(bestValue, futilityBase);
continue;