From 77b81516d9340f616305cc2190a37ccf372b7360 Mon Sep 17 00:00:00 2001 From: rektdie Date: Sat, 29 Mar 2025 17:10:05 +0100 Subject: [PATCH] bugfix in PVS | bench 3232696 --- source/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/search.cpp b/source/search.cpp index 1aedc12..d8dcb1e 100644 --- a/source/search.cpp +++ b/source/search.cpp @@ -268,7 +268,7 @@ SearchResults PVS(Board board, int depth, int alpha, int beta, int ply) { int newDepth = depth + board.InCheck() - 1; // First move (suspected PV node) - if (!i) { + if (!moveSeen) { // Full search score = -PVS(copy, newDepth, -beta, -alpha, ply + 1).score; } else if (reductions) {