mirror of
https://github.com/sockspls/badfish
synced 2025-04-29 16:23:09 +00:00
Simplify the extension formula
Simplify the extension formula in the case of cutNode by removing the depth condition and always setting extension to -2. Passed STC: LLR: 2.97 (-2.94,2.94) <-1.75,0.25> Total: 277280 W: 70760 L: 70802 D: 135718 Ptnml(0-2): 971, 31775, 73153, 31807, 934 https://tests.stockfishchess.org/tests/view/65ad08f779aa8af82b979dd6 Passed LTC: LLR: 2.95 (-2.94,2.94) <-1.75,0.25> Total: 452976 W: 112992 L: 113215 D: 226769 Ptnml(0-2): 266, 51041, 124112, 50788, 281 https://tests.stockfishchess.org/tests/view/65ae466fc865510db026a760 closes https://github.com/official-stockfish/Stockfish/pull/5021 Bench: 1492957
This commit is contained in:
parent
3cce4c4cf4
commit
56b342f9b2
1 changed files with 1 additions and 1 deletions
|
@ -1065,7 +1065,7 @@ moves_loop: // When in check, search starts here
|
||||||
|
|
||||||
// If we are on a cutNode but the ttMove is not assumed to fail high over current beta (~1 Elo)
|
// If we are on a cutNode but the ttMove is not assumed to fail high over current beta (~1 Elo)
|
||||||
else if (cutNode)
|
else if (cutNode)
|
||||||
extension = depth < 20 ? -2 : -1;
|
extension = -2;
|
||||||
|
|
||||||
// If the ttMove is assumed to fail low over the value of the reduced search (~1 Elo)
|
// If the ttMove is assumed to fail low over the value of the reduced search (~1 Elo)
|
||||||
else if (ttValue <= value)
|
else if (ttValue <= value)
|
||||||
|
|
Loading…
Add table
Reference in a new issue