Skip to content

Commit 0e295fe

Browse files
VoyagerOnesnicolet
authored andcommitted
NMP Tweaks
Tweak again the null move pruning preconditions. STC: LLR: 2.96 (-2.94,2.94) [0.50,4.50] Total: 19675 W: 4430 L: 4169 D: 11076 http://tests.stockfishchess.org/tests/view/5d52bc0e0ebc5925cf108300 LTC: LLR: 2.95 (-2.94,2.94) [0.00,3.50] Total: 73895 W: 12496 L: 12114 D: 49285 http://tests.stockfishchess.org/tests/view/5d52dcbc0ebc5925cf108552 Closes #2268 Bench: 3690065
1 parent d799529 commit 0e295fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/search.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,8 @@ namespace {
799799
&& (ss-1)->currentMove != MOVE_NULL
800800
&& (ss-1)->statScore < 22661
801801
&& eval >= beta
802-
&& ss->staticEval >= beta - 33 * depth / ONE_PLY + 299
802+
&& eval >= ss->staticEval
803+
&& ss->staticEval >= beta - 33 * depth / ONE_PLY + 299 - improving * 30
803804
&& !excludedMove
804805
&& pos.non_pawn_material(us)
805806
&& (ss->ply >= thisThread->nmpMinPly || us != thisThread->nmpColor))

0 commit comments

Comments
 (0)