mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 08:37:44 +00:00
Simplify check extensions
Remove the !moveCountPruning condition for check extensions, which seems not necessary. STC: LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 22238 W: 4835 L: 4715 D: 12688 http://tests.stockfishchess.org/tests/view/5bb3241a0ebc592439f6d2ac LTC: LLR: 2.95 (-2.94,2.94) [-3.00,1.00] Total: 36593 W: 5898 L: 5802 D: 24893 http://tests.stockfishchess.org/tests/view/5bb34c220ebc592439f6d5dc Bench: 4274207
This commit is contained in:
committed by
Stéphane Nicolet
parent
97d2cc9a9c
commit
738a6dfd4c
@@ -933,7 +933,6 @@ moves_loop: // When in check, search starts from here
|
|||||||
extension = ONE_PLY;
|
extension = ONE_PLY;
|
||||||
}
|
}
|
||||||
else if ( givesCheck // Check extension (~2 Elo)
|
else if ( givesCheck // Check extension (~2 Elo)
|
||||||
&& !moveCountPruning
|
|
||||||
&& pos.see_ge(move))
|
&& pos.see_ge(move))
|
||||||
extension = ONE_PLY;
|
extension = ONE_PLY;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user