X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fsearch.cpp;h=d6571a140f36b1e9ab5293895aff192df271a785;hb=f0556dcbe3ba2fc804ab26d4552446602a75f064;hp=7eb4a0c5c534eb2fe2ff6fbf44e753f8dedd4ae3;hpb=7077fbdd1481829a0a20b6975c4245609118b938;p=stockfish diff --git a/src/search.cpp b/src/search.cpp index 7eb4a0c5..d6571a14 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -601,7 +601,6 @@ namespace { assert(0 <= ss->ply && ss->ply < MAX_PLY); - (ss+1)->ttPv = false; (ss+1)->excludedMove = bestMove = MOVE_NONE; (ss+2)->killers[0] = (ss+2)->killers[1] = MOVE_NONE; (ss+2)->cutoffCnt = 0; @@ -1075,7 +1074,6 @@ moves_loop: // When in check, search starts here Depth singularDepth = (depth - 1) / 2; ss->excludedMove = move; - // the search with excludedMove will update ss->staticEval value = search(pos, ss, singularBeta - 1, singularBeta, singularDepth, cutNode); ss->excludedMove = MOVE_NONE;