Fp #33

Merged
rektdie merged 5 commits from FP into main 2025-03-26 17:15:15 +01:00
Showing only changes of commit a9b4d70219 - Show all commits
+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
int fpMargin = 100 + 50 * depth;
if (!isPV && ply && !board.InCheck() && currMove.IsQuiet()
&& depth <= 2 && staticEval + fpMargin < alpha) {
&& depth <= 1 && staticEval + fpMargin < alpha) {
continue;
}