mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-22 12:47:08 +00:00
Revert "Scale Null Move Pruning reduction"
This reverts commit 9d4090e826.
causes very poor mate finding performance, ultimately causing a CI hang on a mate in 2
Testcase:
position fen k1B5/2p5/NbN5/P7/3p4/P2p4/P1prp3/2RbK3 b - - 0 1 setoption name Hash value 16
setoption name Threads value 4
go mate 2
ucinewgame
closes https://github.com/official-stockfish/Stockfish/pull/6966
Bench: 2466447
This commit is contained in:
@@ -37,7 +37,6 @@ Aron Petkovski (fury)
|
|||||||
Arseniy Surkov (codedeliveryservice)
|
Arseniy Surkov (codedeliveryservice)
|
||||||
Artem Solopiy (EntityFX)
|
Artem Solopiy (EntityFX)
|
||||||
Auguste Pop
|
Auguste Pop
|
||||||
Ayush (ayushthepiro11-design)
|
|
||||||
Balazs Szilagyi
|
Balazs Szilagyi
|
||||||
Balint Pfliegel
|
Balint Pfliegel
|
||||||
Baptiste Rech (breatn)
|
Baptiste Rech (breatn)
|
||||||
|
|||||||
+2
-2
@@ -995,8 +995,8 @@ Value Search::Worker::search(
|
|||||||
{
|
{
|
||||||
assert((ss - 1)->currentMove != Move::null());
|
assert((ss - 1)->currentMove != Move::null());
|
||||||
|
|
||||||
// Null move dynamic reduction based on depth and evaluation margin
|
// Null move dynamic reduction based on depth
|
||||||
Depth R = 7 + depth / 3 + std::max(0, (ss->staticEval - beta) / 256);
|
Depth R = 7 + depth / 3;
|
||||||
do_null_move(pos, st, ss);
|
do_null_move(pos, st, ss);
|
||||||
|
|
||||||
Value nullValue = -search<NonPV>(pos, ss + 1, -beta, -beta + 1, depth - R, false);
|
Value nullValue = -search<NonPV>(pos, ss + 1, -beta, -beta + 1, depth - R, false);
|
||||||
|
|||||||
Reference in New Issue
Block a user