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); }