Skip to content

Commit

Permalink
Simplify away improvement term in null move search
Browse files Browse the repository at this point in the history
passed STC:
https://tests.stockfishchess.org/tests/view/649c0d2edc7002ce609d33b5
LLR: 2.95 (-2.94,2.94) <-1.75,0.25>
Total: 271104 W: 72181 L: 72217 D: 126706
Ptnml(0-2): 691, 30042, 74129, 29992, 698

passed LTC:
https://tests.stockfishchess.org/tests/view/649d0dd7dc7002ce609d4efa
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 183120 W: 49469 L: 49418 D: 84233
Ptnml(0-2): 84, 17636, 56063, 17699, 78

closes #4650

Bench: 2642851
  • Loading branch information
XInTheDark authored and vondele committed Jul 3, 2023
1 parent fa14392 commit eb9aaf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/search.cpp
Expand Up @@ -779,7 +779,7 @@ namespace {
&& (ss-1)->statScore < 17329
&& eval >= beta
&& eval >= ss->staticEval
&& ss->staticEval >= beta - 21 * depth - improvement / 13 + 258
&& ss->staticEval >= beta - 21 * depth + 258
&& !excludedMove
&& pos.non_pawn_material(us)
&& ss->ply >= thisThread->nmpMinPly
Expand Down

0 comments on commit eb9aaf9

Please sign in to comment.