From 4c67267c8ca1c489b4456885278d13bf4c8ecef5 Mon Sep 17 00:00:00 2001 From: rektdie Date: Thu, 1 Oct 2026 22:36:23 +0200 Subject: [PATCH] pvs see not mated guard | bench 1632393 --- source/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/search.cpp b/source/search.cpp index c04003e..ff682ee 100644 --- a/source/search.cpp +++ b/source/search.cpp @@ -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;