X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fhistory.h;h=b1121d85d54ea40f470762e6d2af7ca46990191d;hp=b12169471842a50a6b85be1314082646462f1062;hb=439aea9ab79373f4520d157ef5feac6cff0ded56;hpb=770db2716470f0e805ac4ee1e010f5adacb42369 diff --git a/src/history.h b/src/history.h index b1216947..b1121d85 100644 --- a/src/history.h +++ b/src/history.h @@ -50,12 +50,12 @@ public: void success(Piece p, Square to, Depth d); void failure(Piece p, Square to, Depth d); int move_ordering_score(Piece p, Square to) const; - void set_gain(Piece p, Square from, Square to, Value delta); - Value gain(Piece p, Square from, Square to) const; + void set_gain(Piece p, Square to, Value delta); + Value gain(Piece p, Square to) const; private: int history[16][64]; // [piece][square] - int maxStaticValueDelta[16][64][64]; // [piece][from_square][to_square] + int maxStaticValueDelta[16][64]; // [piece][from_square][to_square] };