X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fposition.h;h=8b81358769854354b0fc07ad828711ebf0518378;hp=7616eadc966414ac63e6189a8d4d58051ef4dfa6;hb=7e95495b35ef84a87fa6be34639a5f96e67972b0;hpb=55eb7dd1e9be4c4d7957b501d423127934bf2bc0 diff --git a/src/position.h b/src/position.h index 7616eadc..8b813587 100644 --- a/src/position.h +++ b/src/position.h @@ -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; }