]> git.sesse.net Git - stockfish/blobdiff - src/position.h
Precompute repetition info (#2132)
[stockfish] / src / position.h
index a3fb16b8e6c2c871a6e9ac3ab5ca3e11d36f9863..5ff3d1ace8d3b908da4f39ff6c1247b58f7ccfde 100644 (file)
@@ -46,6 +46,7 @@ struct StateInfo {
   Square epSquare;
 
   // Not copied when making a move (will be recomputed anyhow)
+  int repetition;
   Key        key;
   Bitboard   checkersBB;
   Piece      capturedPiece;