]> git.sesse.net Git - stockfish/blobdiff - src/tt.h
Fix an off-by-one bug in extract_pv()
[stockfish] / src / tt.h
index bff1749841b1ac1312a7a413d9c3619eb6e461c0..5d0df726239cabb66cb13628ac3523e9fb676c9c 100644 (file)
--- a/src/tt.h
+++ b/src/tt.h
@@ -102,7 +102,7 @@ public:
   void prefetch(const Key posKey) const;
   void new_search();
   void insert_pv(const Position& pos, Move pv[]);
-  void extract_pv(const Position& pos, Move pv[], int pvSize);
+  void extract_pv(const Position& pos, Move pv[], const int PLY_MAX);
   int full() const;
 
 private: