mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 17:16:33 +08:00
Retire psq_delta()
No functional change.
This commit is contained in:
@@ -169,7 +169,6 @@ public:
|
||||
|
||||
// Incremental piece-square evaluation
|
||||
Score psq_score() const;
|
||||
Score psq_delta(Piece p, Square from, Square to) const;
|
||||
Value non_pawn_material(Color c) const;
|
||||
|
||||
// Other properties of the position
|
||||
@@ -358,10 +357,6 @@ inline Key Position::material_key() const {
|
||||
return st->materialKey;
|
||||
}
|
||||
|
||||
inline Score Position::psq_delta(Piece p, Square from, Square to) const {
|
||||
return pieceSquareTable[p][to] - pieceSquareTable[p][from];
|
||||
}
|
||||
|
||||
inline Score Position::psq_score() const {
|
||||
return st->psqScore;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user