From 9fcef9c3c833d042932b38d3b55ac682d68dff72 Mon Sep 17 00:00:00 2001 From: rektdie Date: Fri, 17 Apr 2026 12:33:24 +0200 Subject: [PATCH] prevent razoring when tt is lower bound | bench 1246472 --- source/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }