Skip to content
Permalink
Browse files

Update search.cpp

  • Loading branch information...
VoyagerOne committed May 15, 2019
1 parent 13b5b5e commit 92da23750b19bda5aa6147c9f9527816dee4c6e6
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/search.cpp
@@ -583,7 +583,7 @@ namespace {
(ss+1)->excludedMove = bestMove = MOVE_NONE;
(ss+2)->killers[0] = (ss+2)->killers[1] = MOVE_NONE;
Square prevSq = to_sq((ss-1)->currentMove);
ss->singularExtensionLMRmultiplier = 0;ben
ss->singularExtensionLMRmultiplier = 0;

// Initialize statScore to zero for the grandchildren of the current position.
// So statScore is shared between all grandchildren and only the first grandchild

1 comment on commit 92da237

@locutus2

This comment has been minimized.

Copy link

commented on 92da237 May 16, 2019

@VoyagerOne
So should try my proposal by using:

if ((ss-1)->moveCount > 15 || ((ss-1)->moveCount == 1 && (ss-1)->singularExtensionLMRmultiplier))
    r -= ONE_PLY;
Please sign in to comment.
You can’t perform that action at this time.