Skip to content

Commit

Permalink
further simplify evasion stage
Browse files Browse the repository at this point in the history
Passed STC:
LLR: 2.93 (-2.94,2.94) <-1.75,0.25>
Total: 132064 W: 34318 L: 34204 D: 63542
Ptnml(0-2): 392, 15522, 34106, 15604, 408
https://tests.stockfishchess.org/tests/view/6743fee086d5ee47d953f9ca

Passed LTC:
LLR: 2.94 (-2.94,2.94) <-1.75,0.25>
Total: 97542 W: 24899 L: 24757 D: 47886
Ptnml(0-2): 63, 10646, 27193, 10824, 45
https://tests.stockfishchess.org/tests/view/674509cd86d5ee47d953fb96

Bench: 943329
  • Loading branch information
ces42 committed Nov 27, 2024
1 parent b3481ab commit 72a5139
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ Bruno de Melo Costa (BM123499)
Bruno Pellanda (pellanda)
Bryan Cross (crossbr)
candirufish
Carlos Esparza Sánchez (ces42)
Chess13234
Chris Cain (ceebo)
Ciekce
Expand Down
6 changes: 1 addition & 5 deletions src/movepick.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,9 @@

#include "movepick.h"

#include <algorithm>
#include <array>
#include <cassert>
#include <limits>
#include <utility>

#include "bitboard.h"
#include "position.h"
Expand Down Expand Up @@ -306,13 +304,11 @@ Move MovePicker::next_move() {
[[fallthrough]];

case EVASION :
case QCAPTURE :
return select([]() { return true; });

case PROBCUT :
return select([&]() { return pos.see_ge(*cur, threshold); });

case QCAPTURE :
return select([]() { return true; });
}

assert(false);
Expand Down

0 comments on commit 72a5139

Please sign in to comment.