Retire psq_delta()

No functional change.
This commit is contained in:
Marco Costalba
2013-06-09 12:24:43 +02:00
parent 55eb7dd1e9
commit 7e95495b35
3 changed files with 6 additions and 13 deletions

View File

@@ -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;
}