1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-07-13 04:29:15 +00:00

Bugfix: reduction was not set to zero in full depth search

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Joona Kiiski 2010-01-27 22:59:18 +02:00 committed by Marco Costalba
parent 548bae80bd
commit 3c7eebb48d

View file

@ -1000,6 +1000,7 @@ namespace {
if (doFullDepthSearch)
{
ss[0].reduction = Depth(0);
value = -search(pos, ss, -alpha, newDepth, 1, true, 0);
if (value > alpha)