Merge pull request #191 from rektdie/pvs-see-notmated

pvs see not mated guard | bench 1632393
This commit was merged in pull request #191.
This commit is contained in:
rektdie authored and GitHub committed 2026-10-03 09:27:30 +02:00
commit aa120b14f9
1 file changed
+1 -1
+1 -1
View File
@@ -612,7 +612,7 @@ SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchC
// PVS SEE
int SEEThreshold = currMove.IsQuiet() ? seeQuietThreshold * depth : seeNoisyThreshold * depth * depth;
if (ply && depth <= 10 && !SEE(board, currMove, SEEThreshold))
if (ply && depth <= 10 && notMated && !SEE(board, currMove, SEEThreshold))
continue;