mirror of
https://github.com/sockspls/badfish
synced 2025-04-29 16:23:09 +00:00
Introduce double extensions for PV nodes
Our double/triple extensions were allowed only for non-pv nodes. This patch allows them to be done for PV nodes, with some stricter conditions. Passed STC: https://tests.stockfishchess.org/tests/view/65d657ec1d8e83c78bfddab8 LLR: 2.95 (-2.94,2.94) <0.00,2.00> Total: 339424 W: 88097 L: 87318 D: 164009 Ptnml(0-2): 1573, 39935, 85729, 41090, 1385 Passed LTC: https://tests.stockfishchess.org/tests/view/65dd63824b19edc854ebc433 LLR: 2.94 (-2.94,2.94) <0.50,2.50> Total: 459564 W: 115812 L: 114614 D: 229138 Ptnml(0-2): 248, 51441, 125173, 52705, 215 closes https://github.com/official-stockfish/Stockfish/pull/5093 Bench: 1714391
This commit is contained in:
parent
1db969e620
commit
6136d094c5
1 changed files with 2 additions and 0 deletions
|
@ -1042,6 +1042,8 @@ moves_loop: // When in check, search starts here
|
|||
extension = 2 + (value < singularBeta - 78 && !ttCapture);
|
||||
depth += depth < 16;
|
||||
}
|
||||
if (PvNode && !ttCapture && ss->multipleExtensions <= 5 && value < singularBeta - 50)
|
||||
extension = 2;
|
||||
}
|
||||
|
||||
// Multi-cut pruning
|
||||
|
|
Loading…
Add table
Reference in a new issue