1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-05-02 09:39:36 +00:00

Remove old line in "Futility pruning for captures"

The line is no longer needed after 910cf8b218.
This patch incidentally applies "Futility Pruning for Captures" also in case of en-passant, changing the bench signature.

Passed STC:
https://tests.stockfishchess.org/tests/view/6332c1f1208c26088697b731
LLR: 2.96 (-2.94,2.94) <-1.75,0.25>
Total: 68760 W: 18440 L: 18256 D: 32064
Ptnml(0-2): 267, 7530, 18595, 7728, 260

Passed LTC:
https://tests.stockfishchess.org/tests/view/633312e9208c26088697c59b
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 455552 W: 121910 L: 122123 D: 211519
Ptnml(0-2): 253, 45439, 136600, 45236, 248

closes https://github.com/official-stockfish/Stockfish/pull/4185

Bench: 4374521
This commit is contained in:
Giacomo Lorenzetti 2022-10-05 13:08:00 +02:00 committed by Joost VandeVondele
parent da937e219e
commit d5271af0ee

View file

@ -1002,8 +1002,7 @@ moves_loop: // When in check, search starts here
|| givesCheck)
{
// Futility pruning for captures (~0 Elo)
if ( !pos.empty(to_sq(move))
&& !givesCheck
if ( !givesCheck
&& !PvNode
&& lmrDepth < 7
&& !ss->inCheck