X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=b5ce0c1899d843d84502c85b9cab32d164761d6d;hp=8d325a8e71d7b7faca4c8cdb0fec89a6840571ea;hb=489357d7b221179a0fc116df706df5e937f991fa;hpb=bbf9daa175fc629790246866882f4d6797ab06ef diff --git a/src/search.cpp b/src/search.cpp index 8d325a8e..b5ce0c18 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -757,7 +757,7 @@ namespace { && (ss-1)->currentMove != MOVE_NULL && (ss-1)->statScore < 23200 && eval >= beta - && ss->staticEval >= beta - 36 * depth / ONE_PLY + 225 + && pureStaticEval >= beta - 36 * depth / ONE_PLY + 225 && !excludedMove && pos.non_pawn_material(us) && (ss->ply >= thisThread->nmpMinPly || us != thisThread->nmpColor)) @@ -905,7 +905,7 @@ moves_loop: // When in check, search starts from here // Singular extension search (~60 Elo). If all moves but one fail low on a // search of (alpha-s, beta-s), and just one fails high on (alpha, beta), // then that move is singular and should be extended. To verify this we do - // a reduced search on on all the other moves but the ttMove and if the + // a reduced search on all the other moves but the ttMove and if the // result is lower than ttValue minus a margin then we will extend the ttMove. if ( depth >= 8 * ONE_PLY && move == ttMove