diff --git a/source/search.cpp b/source/search.cpp index e54ea66..af2450e 100644 --- a/source/search.cpp +++ b/source/search.cpp @@ -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(copy, depth - reduction, -beta, -beta + 1, ply + 1, ctx, !cutnode).score;