mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 18:17:02 +08:00
Use refinedValue in ProbCut condition
After 12613 games at 20"+0.1 on QUAD Mod vs Orig 1870 - 1863 - 8880 ELO +0 (+- 3.3) So no performance change but it is a code semplification and also is more easy to understand. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -213,7 +213,6 @@ public:
|
||||
// Static exchange evaluation
|
||||
int see(Move m) const;
|
||||
int see_sign(Move m) const;
|
||||
static int see_value(PieceType pt);
|
||||
|
||||
// Accessing hash keys
|
||||
Key get_key() const;
|
||||
@@ -467,10 +466,6 @@ inline bool Position::square_is_weak(Square s, Color c) const {
|
||||
return !(pieces(PAWN, opposite_color(c)) & attack_span_mask(c, s));
|
||||
}
|
||||
|
||||
inline int Position::see_value(PieceType pt) {
|
||||
return seeValues[pt];
|
||||
}
|
||||
|
||||
inline Key Position::get_key() const {
|
||||
return st->key;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user