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) if (doFullDepthSearch)
{ {
ss[0].reduction = Depth(0);
value = -search(pos, ss, -alpha, newDepth, 1, true, 0); value = -search(pos, ss, -alpha, newDepth, 1, true, 0);
if (value > alpha) if (value > alpha)