mirror of
https://github.com/official-stockfish/Stockfish.git
synced 2026-07-22 12:47:08 +00:00
Simplify newDepth modification formulas
Passed STC: LLR: 2.94 (-2.94,2.94) <-1.75,0.25> Total: 21856 W: 5709 L: 5471 D: 10676 Ptnml(0-2): 77, 2466, 5589, 2734, 62 https://tests.stockfishchess.org/tests/view/68862ea4966ed85face24a27 Passed LTC: LLR: 2.94 (-2.94,2.94) <-1.75,0.25> Total: 108828 W: 27893 L: 27763 D: 53172 Ptnml(0-2): 59, 11860, 30435, 12012, 48 https://tests.stockfishchess.org/tests/view/68863046966ed85face24a3b closes https://github.com/official-stockfish/Stockfish/pull/6181 Bench: 3069051
This commit is contained in:
committed by
Joost VandeVondele
parent
2e2d2778fc
commit
a9b7638e96
+1
-3
@@ -1229,7 +1229,7 @@ moves_loop: // When in check, search starts here
|
|||||||
// Do a full-depth search when reduced LMR search fails high
|
// Do a full-depth search when reduced LMR search fails high
|
||||||
// (*Scaler) Usually doing more shallower searches
|
// (*Scaler) Usually doing more shallower searches
|
||||||
// doesn't scale well to longer TCs
|
// doesn't scale well to longer TCs
|
||||||
if (value > alpha && d < newDepth)
|
if (value > alpha)
|
||||||
{
|
{
|
||||||
// Adjust full-depth search based on LMR results - if the result was
|
// Adjust full-depth search based on LMR results - if the result was
|
||||||
// good enough search deeper, if it was bad enough search shallower.
|
// good enough search deeper, if it was bad enough search shallower.
|
||||||
@@ -1244,8 +1244,6 @@ moves_loop: // When in check, search starts here
|
|||||||
// Post LMR continuation history updates
|
// Post LMR continuation history updates
|
||||||
update_continuation_histories(ss, movedPiece, move.to_sq(), 1412);
|
update_continuation_histories(ss, movedPiece, move.to_sq(), 1412);
|
||||||
}
|
}
|
||||||
else if (value > alpha && value < bestValue + 9)
|
|
||||||
newDepth--;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Step 18. Full-depth search when LMR is skipped
|
// Step 18. Full-depth search when LMR is skipped
|
||||||
|
|||||||
Reference in New Issue
Block a user