mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 17:16:33 +08:00
Don't prune discovered checks
Don't prune and eventually extend check moves of type DISCO_CHECK (pun intended, Lucas will understand :-) ). Patch from Lucas Braesch that has also tested it: Result: 879-661-2137, score=52.96%, LOS=100.00% (time 10"+0.1") I have started a verification test right now. bench: 6004966
This commit is contained in:
@@ -136,7 +136,7 @@ public:
|
||||
template<PieceType> Bitboard attacks_from(Square s, Color c) const;
|
||||
|
||||
// Properties of moves
|
||||
bool move_gives_check(Move m, const CheckInfo& ci) const;
|
||||
CheckType move_gives_check(Move m, const CheckInfo& ci) const;
|
||||
bool move_is_legal(const Move m) const;
|
||||
bool pl_move_is_legal(Move m, Bitboard pinned) const;
|
||||
bool is_pseudo_legal(const Move m) const;
|
||||
|
||||
Reference in New Issue
Block a user