X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fhistory.h;h=c5f72f22afb6fed41da0d5b6ad694fe2d17cabda;hp=2eb93d85926045632dc8b7f0211565e74f56715a;hb=55df3fa2d7631ed67e46f9433aa7f3a71c18e5e7;hpb=8307da0de77c9c7bbf7c56a7d9c8a688ff4dfb4e diff --git a/src/history.h b/src/history.h index 2eb93d85..c5f72f22 100644 --- a/src/history.h +++ b/src/history.h @@ -20,9 +20,10 @@ #if !defined(HISTORY_H_INCLUDED) #define HISTORY_H_INCLUDED -#include "types.h" -#include #include +#include + +#include "types.h" /// The History class stores statistics about how often different moves /// have been successful or unsuccessful during the current search. These @@ -43,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() {