mirror of
https://github.com/sockspls/badfish
synced 2025-04-29 16:23:09 +00:00
Refactor history score calculation
Passed STC: https://tests.stockfishchess.org/tests/view/65ad08b179aa8af82b979dd1 LLR: 2.93 (-2.94,2.94) <-1.75,0.25> Total: 161376 W: 41582 L: 41498 D: 78296 Ptnml(0-2): 633, 19354, 40611, 19476, 614 Passed LTC: https://tests.stockfishchess.org/tests/view/65af966fc865510db026c0f0 LLR: 2.95 (-2.94,2.94) <-1.75,0.25> Total: 116526 W: 29269 L: 29143 D: 58114 Ptnml(0-2): 71, 13252, 31509, 13342, 89 closes https://github.com/official-stockfish/Stockfish/pull/5006 Bench: 1317504
This commit is contained in:
parent
2b62c4452d
commit
3d49a99aaf
1 changed files with 1 additions and 1 deletions
|
@ -1029,7 +1029,7 @@ moves_loop: // When in check, search starts here
|
||||||
if (lmrDepth < 6 && history < -4195 * depth)
|
if (lmrDepth < 6 && history < -4195 * depth)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
history += 69 * thisThread->mainHistory[us][move.from_to()] / 32;
|
history += 2 * thisThread->mainHistory[us][move.from_to()];
|
||||||
|
|
||||||
lmrDepth += history / 6992;
|
lmrDepth += history / 6992;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue