Remove passed_count from almostUnwinnable.
authorxoto10 <buylow001@gmail.com>
Wed, 25 Mar 2020 16:06:25 +0000 (16:06 +0000)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Thu, 26 Mar 2020 16:46:51 +0000 (17:46 +0100)
commitc8e8e48b144bcc50c5423b771eb668eafb13af99
tree4e69e1acb221e92cb61708e1757c7fe68c7d9296
parent8b229381daa9c2537dc9a8cf5080a3a282265d0a
Remove passed_count from almostUnwinnable.

This simplification allows the almostUnwinnable flag to match endgames where the pawns are all on the same flank but are not symmetrical.

STC:
LLR: 2.94 (-2.94,2.94) {-1.50,0.50}
Total: 23356 W: 4543 L: 4395 D: 14418
Ptnml(0-2): 346, 2651, 5582, 2707, 392
https://tests.stockfishchess.org/tests/view/5e7b8f57e42a5c3b3ca2eb09

LTC:
LLR: 2.96 (-2.94,2.94) {-1.50,0.50}
Total: 31778 W: 4097 L: 4023 D: 23658
Ptnml(0-2): 199, 2853, 9729, 2891, 217
https://tests.stockfishchess.org/tests/view/5e7ba5ade42a5c3b3ca2eb16

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

Bench 4777139
src/evaluate.cpp