mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-19 08:36:33 +08:00
Introduce MovePicker::isBadCapture() and use in probcut
Small functional change due to the fact that now we skip probcut on evasions. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -46,6 +46,7 @@ namespace {
|
||||
const uint8_t QsearchWithoutChecksTable[] = { PH_TT_MOVES, PH_QCAPTURES, PH_STOP };
|
||||
}
|
||||
|
||||
bool MovePicker::isBadCapture() const { return phase == PH_BAD_CAPTURES; }
|
||||
|
||||
/// Constructor for the MovePicker class. Apart from the position for which
|
||||
/// it is asked to pick legal moves, MovePicker also wants some information
|
||||
|
||||
Reference in New Issue
Block a user