Revert "Don't prune discovered checks"

Both Lucas re-test and Jean-Francois confirrm it
is a regression.

Here Jean-Francois's results after 3600 games :
Score of 96d3b1c92b vs 3b87314: 690 - 729 - 2181 [0.495] 3600
ELO: -3.86 +- 99%: 14.94 95%: 11.35
LOS: 15.03%
Wins: 690 Losses: 729 Draws: 2181 Total: 3600

Bench: 5404066
This commit is contained in:
Marco Costalba
2012-11-11 11:04:58 +01:00
parent 96d3b1c92b
commit c45a4e0b48
4 changed files with 12 additions and 22 deletions

View File

@@ -136,7 +136,7 @@ public:
template<PieceType> Bitboard attacks_from(Square s, Color c) const;
// Properties of moves
CheckType move_gives_check(Move m, const CheckInfo& ci) const;
bool 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;