X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=c48865c637210aa7c41defa21877d936884889ae;hp=a26a9ab8cbc1092d8a34171cc7a5765a2aaf0c48;hb=31ac538f96a54b294e79213d33aacf5d8a182c87;hpb=883367d21749eb91a5a3737338b5a7f507751a5a diff --git a/src/search.cpp b/src/search.cpp index a26a9ab8..c48865c6 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -764,7 +764,7 @@ namespace { || (ss-2)->staticEval == VALUE_NONE; // Step 8. Futility pruning: child node (~30 Elo) - if ( !rootNode + if ( !PvNode && depth < 7 * ONE_PLY && eval - futility_margin(depth, improving) >= beta && eval < VALUE_KNOWN_WIN) // Do not return unproven wins