From d11217d26bb7c1db886645afa2ab80fe8cdb99de Mon Sep 17 00:00:00 2001 From: dhb <1084714805@qq.com> Date: Fri, 26 Jul 2024 23:40:31 +0800 Subject: [PATCH] ablation: no decrease reduction if position is or has been on the PV test r15 --- Rapfi/search/ab/search.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Rapfi/search/ab/search.cpp b/Rapfi/search/ab/search.cpp index 47470f4..8c0b467 100644 --- a/Rapfi/search/ab/search.cpp +++ b/Rapfi/search/ab/search.cpp @@ -1122,8 +1122,8 @@ Value search(Board &board, SearchStack *ss, Value alpha, Value beta, Depth depth r += complexity * complexityReduction(trivialMove, importantMove, distract); // Decrease reduction if position is or has been on the PV - if (ss->ttPv) - r -= 1.0f; + //if (ss->ttPv) + // r -= 1.0f; // Increase reduction for nodes that does not improve root alpha if (!RootNode && (ss->ply & 1) && bestValue >= -searchData->rootAlpha)