Merge pull request #92 from rektdie/nmp-tweak

tweaked nmp reduction | bench 7750226
This commit was merged in pull request #92.
This commit is contained in:
rektdie authored and GitHub committed 2025-08-28 03:33:13 +02:00
commit e46076116f
1 file changed
+1 -1
+1 -1
View File
@@ -408,7 +408,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
Board copy = board;
copy.MakeMove(Move());
const int reduction = 3 + improving;
const int reduction = 4 + improving + depth / 3;
ctx->doingNullMove = true;
int score = -PVS<false, mode>(copy, depth - reduction, -beta, -beta + 1, ply + 1, ctx, !cutnode).score;