Skip to content

Commit

Permalink
further simplify evasion stage
Browse files Browse the repository at this point in the history
  • Loading branch information
ces42 committed Nov 27, 2024
1 parent b3481ab commit 6ec7868
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 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
4 changes: 1 addition & 3 deletions src/movepick.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -306,13 +306,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 6ec7868

Please sign in to comment.