X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.cpp;h=fd5687ea9714ab625bbc8a6cf106003ab293bb34;hp=5ea75fecfbd98d40cb084f20600f77612b6a891c;hb=a9e9746495821fe7251d5f86ea3a97cb91eac729;hpb=a7fcdfd6bff8baa6278306dd9e4fa72d053bb8c9 diff --git a/src/search.cpp b/src/search.cpp index 5ea75fec..fd5687ea 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1666,7 +1666,7 @@ namespace { alpha = bestValue; // If we are near beta then try to get a cutoff pushing checks a bit further - bool deepChecks = depth == -OnePly && staticValue >= beta - PawnValueMidgame / 8; + bool deepChecks = (depth == -OnePly && staticValue >= beta - PawnValueMidgame / 8); // Initialize a MovePicker object for the current position, and prepare // to search the moves. Because the depth is <= 0 here, only captures,