mirror of
https://github.com/sockspls/badfish
synced 2025-07-13 12:39:16 +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:
parent
548bae80bd
commit
3c7eebb48d
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue