From 7e621311e6917f1331cac512c6e4f2a05eb4372e Mon Sep 17 00:00:00 2001 From: rektdie Date: Wed, 25 Feb 2026 09:04:54 +0100 Subject: [PATCH] prevent rfp in ttpv nodes | bench 1738647 --- source/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/search.cpp b/source/search.cpp index a6c5602..9736a20 100644 --- a/source/search.cpp +++ b/source/search.cpp @@ -389,7 +389,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC if (ply) { // Reverse Futility Pruning int margin = rfpBase + rfpMargin * (depth - improving); - if (ttAdjustedEval - margin >= beta && depth < 7) { + if (!ttpv && ttAdjustedEval - margin >= beta && depth < 7) { return (beta + (ttAdjustedEval - beta) / 3); } -- 2.47.3