Merge pull request #43 from rektdie/check_extension_fix

check extension fix | bench 2953196
This commit was merged in pull request #43.
This commit is contained in:
rektdie authored and GitHub committed 2025-03-29 19:27:27 +01:00
commit e170a88a00
1 file changed
+1 -1
+1 -1
View File
@@ -265,7 +265,7 @@ SearchResults PVS(Board board, int depth, int alpha, int beta, int ply) {
int reductions = GetReductions(board, currMove, depth, moveSeen, ply);
int newDepth = depth + board.InCheck() - 1;
int newDepth = depth + copy.InCheck() - 1;
// First move (suspected PV node)
if (!moveSeen) {