X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fhistory.h;h=c5f72f22afb6fed41da0d5b6ad694fe2d17cabda;hp=7899c842ae99b54fc0b4552639631c317413b4df;hb=e304db9d1ecf6a2318708483c90fadecf4fac4ee;hpb=6b909b2343190f2989d21c8f69f40e9f09c530c0 diff --git a/src/history.h b/src/history.h index 7899c842..c5f72f22 100644 --- a/src/history.h +++ b/src/history.h @@ -44,8 +44,8 @@ public: static const Value MaxValue = Value(2000); private: - Value history[16][64]; // [piece][to_square] - Value maxGains[16][64]; // [piece][to_square] + Value history[PIECE_NB][SQUARE_NB]; + Value maxGains[PIECE_NB][SQUARE_NB]; }; inline void History::clear() {