diff --git a/source/search.h b/source/search.h index b5121c9..20383ec 100644 --- a/source/search.h +++ b/source/search.h @@ -98,7 +98,7 @@ public: std::array, 2> killerMoves{}; - std::array positionHistory{}; + std::vector positionHistory; TTable TT; @@ -110,7 +110,7 @@ public: TT.Clear(); sw.Restart(); killerMoves = {}; - positionHistory = {}; + positionHistory.reserve(1000); } };