bench: 3165561
This commit is contained in:
rektdie committed 2026-03-28 03:20:07 +01:00
1 parent 081d54dc55
commit ba4ffca56f
1 file changed
+2 -2
+2 -2
View File
@@ -681,8 +681,8 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
score = -PVS<false, mode>(copy, newDepth, -alpha - 1, -alpha, ply + 1, ctx, !cutnode).score;
}
if (isPV && (moveSeen == 0 || score > alpha)) {
score = -PVS<isPV, mode>(copy, newDepth, -beta, -alpha, ply + 1, ctx, false).score;
if (isPV && (moveSeen == 1 || score > alpha)) {
score = -PVS<true, mode>(copy, newDepth, -beta, -alpha, ply + 1, ctx, false).score;
}
moveSeen++;