]> git.sesse.net Git - stockfish/blobdiff - src/search.h
Drop KILLER_MAX. Hardcode to 2 instead.
[stockfish] / src / search.h
index 61a33242124f3f68515d4d87a9907af9a5c49a64..74951548df0c6ec5d08e1298dfb174fd467bee3e 100644 (file)
@@ -36,7 +36,6 @@
 
 const int PLY_MAX = 100;
 const int PLY_MAX_PLUS_2 = 102;
-const int KILLER_MAX = 2;
 
 
 ////
@@ -55,7 +54,7 @@ struct SearchStack {
   Move threatMove;
   Move excludedMove;
   Move bestMove;
-  Move killers[KILLER_MAX];
+  Move killers[2];
   Depth reduction;
   Value eval;
   bool skipNullMove;