decreased depth in fp | bench 836212

This commit is contained in:
rektdie committed 2025-03-26 16:36:25 +01:00
1 parent f0d8b8804e
commit a9b4d70219
1 file changed
+1 -1
+1 -1
View File
@@ -236,7 +236,7 @@ SearchResults PVS(Board board, int depth, int alpha, int beta, int ply) {
// that a quiet move will help us so we skip them // that a quiet move will help us so we skip them
int fpMargin = 100 + 50 * depth; int fpMargin = 100 + 50 * depth;
if (!isPV && ply && !board.InCheck() && currMove.IsQuiet() if (!isPV && ply && !board.InCheck() && currMove.IsQuiet()
&& depth <= 2 && staticEval + fpMargin < alpha) { && depth <= 1 && staticEval + fpMargin < alpha) {
continue; continue;
} }