mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +00:00
Do last capture extensions for every single node
This patch simplifies latest @MJZ1977 elo gainer. Seems like PvNode check in condition of last capture extension is not needed. Note - even if this is a simplification it actually causes this extension to be applied more often, thus strengthening effect of @MJZ1977's patch. passed STC http://tests.stockfishchess.org/tests/view/5deb9a3eb7bdefd50db28d0e LLR: 2.96 (-2.94,2.94) [-3.00,1.00] Total: 80244 W: 17421 L: 17414 D: 45409 passed LTC http://tests.stockfishchess.org/tests/view/5deba860b7bdefd50db28d11 LLR: 2.94 (-2.94,2.94) [-3.00,1.00] Total: 21506 W: 3565 L: 3446 D: 14495 Bench: 5097036
This commit is contained in:
parent
78eeba29a2
commit
d00b2ec6bd
1 changed files with 1 additions and 2 deletions
|
@ -1064,8 +1064,7 @@ moves_loop: // When in check, search starts from here
|
||||||
extension = 1;
|
extension = 1;
|
||||||
|
|
||||||
// Last captures extension
|
// Last captures extension
|
||||||
else if ( PvNode
|
else if ( PieceValue[EG][pos.captured_piece()] > PawnValueEg
|
||||||
&& PieceValue[EG][pos.captured_piece()] > PawnValueEg
|
|
||||||
&& pos.non_pawn_material() <= 2 * RookValueMg)
|
&& pos.non_pawn_material() <= 2 * RookValueMg)
|
||||||
extension = 1;
|
extension = 1;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue