Revert "Moving up the if position is or has been on the PV reduction"

Passed VVLTC 1:
LLR: 2.94 (-2.94,2.94) <0.00,2.00>
Total: 68362 W: 17830 L: 17523 D: 33009
Ptnml(0-2): 9, 6253, 21347, 6566, 6
https://tests.stockfishchess.org/tests/view/6790271cfc8c306ba6cea2c1

Passed VVLTC 2:
LLR: 2.95 (-2.94,2.94) <0.50,2.50>
Total: 113256 W: 29158 L: 28721 D: 55377
Ptnml(0-2): 13, 10521, 35122, 10960, 12
https://tests.stockfishchess.org/tests/view/678d3e47d63764e34db491a3

closes https://github.com/official-stockfish/Stockfish/pull/5815

bench 1943998
This commit is contained in:
Viren6
2025-01-19 17:18:23 +00:00
committed by Joost VandeVondele
parent 6c7c5c7e47
commit 435ba3dbb5

View File

@@ -982,10 +982,6 @@ moves_loop: // When in check, search starts here
Depth r = reduction(improving, depth, moveCount, delta);
// Decrease reduction if position is or has been on the PV (*Scaler)
if (ss->ttPv)
r -= 1037 + (ttData.value > alpha) * 965 + (ttData.depth >= depth) * 960;
// Step 14. Pruning at shallow depth.
// Depth conditions are important for mate finding.
if (!rootNode && pos.non_pawn_material(us) && !is_loss(bestValue))
@@ -1146,6 +1142,9 @@ moves_loop: // When in check, search starts here
uint64_t nodeCount = rootNode ? uint64_t(nodes) : 0;
// Decrease reduction for PvNodes (*Scaler)
if (ss->ttPv)
r -= 1037 + (ttData.value > alpha) * 965 + (ttData.depth >= depth) * 960;
if (PvNode)
r -= 1018;