From 1d8d788fd97aee3961bf3174cb458f413aa70882 Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Tue, 7 Feb 2017 22:39:47 +0100 Subject: [PATCH] Suppress hash cutoffs in root --- dropper.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dropper.c b/dropper.c index 9081a17..ca80815 100644 --- a/dropper.c +++ b/dropper.c @@ -1144,7 +1144,7 @@ if(PATH)printf("%d:%d Hash Probe %016llx\n",ply,depth,f.hashKey); if(PATH)printf(" Hit, d=%d, checker = %x\n",entry->depth,f.checker); if((entry->flags & H_LOWER || entry->score <= alpha) && (entry->flags & H_UPPER || entry->score >= beta)) { // compatible bound d += (score >= beta & entry->depth >= LMR)*reduction; // fail highs need to satisfy reduced depth only, so we fake higher depth than actually found - if(score > alpha && d >= depth || d >= maxDepth) { // sufficient depth + if((score > alpha && d >= depth || d >= maxDepth) && ply) { // sufficient depth ff->depth = d + 1; return entry->score; // depth was sufficient, take hash cutoff } } -- 1.7.0.4