nmp stand pat | bench 1143648

This commit is contained in:
rektdie committed 2025-03-15 15:29:32 +01:00
1 parent 29bac3a101
commit ead9a26f05
1 file changed
+1 -1
+1 -1
View File
@@ -165,7 +165,7 @@ SearchResults PVS(Board board, int depth, int alpha, int beta) {
}
// Null Move Pruning
if (!doingNullMove) {
if (!doingNullMove && staticEval >= beta) {
if (depth >= 3 && !board.InPossibleZug(board.sideToMove)) {
Board copy = board;
copy.MakeMove(Move());