diff --git a/src/search.cpp b/src/search.cpp index 40676e2e2..0a4a390bb 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -1137,7 +1137,10 @@ moves_loop: // When in check, search starts here // singular (multiple moves fail high), and we can prune the whole // subtree by returning a softbound. else if (value >= beta && !is_decisive(value)) + { + ttMoveHistory << std::max(-400 - 100 * depth, -4000); return value; + } // Negative extensions // If other moves failed high over (ttValue - margin) without the