diff --git a/source/search.cpp b/source/search.cpp index cbfaf58..db69f05 100644 --- a/source/search.cpp +++ b/source/search.cpp @@ -458,7 +458,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC } // Razoring - if (!isPV && depth <= 3 && staticEval + razoringScalar * depth < alpha) { + if (!isPV && depth <= 3 && staticEval + razoringScalar * depth < alpha && entry.nodeType != CutNode) { return Quiescence(board, alpha, beta, ply, ctx).score; }