diff --git a/source/search.cpp b/source/search.cpp index 69d6c97..5f1b163 100644 --- a/source/search.cpp +++ b/source/search.cpp @@ -413,7 +413,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC if (!board.InCheck() && !ctx->excluded) { if (ply) { // Reverse Futility Pruning - int margin = rfpMargin * (depth - improving); + int margin = rfpBase + rfpMargin * (depth - improving); if (!ttHit && staticEval - margin >= beta && depth < 7) { return (beta + (staticEval - beta) / 3); } diff --git a/source/tunables.h b/source/tunables.h index 673b0f1..293d9cd 100644 --- a/source/tunables.h +++ b/source/tunables.h @@ -12,6 +12,7 @@ X_INT(lmrIsPV, 1024, 512, 2048) \ X_INT(lmrHistoryDivisor, 8192, 6000, 10000) \ X_INT(lmrImproving, 1024, 6000, 10000) \ + X_INT(rfpBase, 25, 50, 200) \ X_INT(rfpMargin, 100, 50, 200) \ X_INT(fpMargin, 100, 50, 200) \ X_INT(doubleExtMargin, 30, 10, 60) \