mirror of
https://github.com/sockspls/badfish
synced 2025-07-11 19:49:14 +00:00
Check Extension with Static Evaluation
extension for checking moves, at higher depth and more decisive positions. stc: LLR: 2.97 (-2.94,2.94) <-0.50,2.50> Total: 87008 W: 7337 L: 7100 D: 72571 Ptnml(0-2): 264, 5737, 31270, 5964, 269 https://tests.stockfishchess.org/tests/view/60b1034787a1a67ae56c47b6 ltc: LLR: 2.94 (-2.94,2.94) <0.50,3.50> Total: 79320 W: 2629 L: 2432 D: 74259 Ptnml(0-2): 29, 2205, 35000, 2392, 34 https://tests.stockfishchess.org/tests/view/60b1ae0b87a1a67ae56c487c closes https://github.com/official-stockfish/Stockfish/pull/3514 Bench: 4447112
This commit is contained in:
parent
5448cad29e
commit
e8418bb1b9
1 changed files with 4 additions and 0 deletions
|
@ -1097,6 +1097,10 @@ moves_loop: // When in check, search starts from here
|
|||
return beta;
|
||||
}
|
||||
}
|
||||
else if ( givesCheck
|
||||
&& depth > 6
|
||||
&& abs(ss->staticEval) > Value(100))
|
||||
extension = 1;
|
||||
|
||||
// Add extension to new depth
|
||||
newDepth += extension;
|
||||
|
|
Loading…
Add table
Reference in a new issue