changed positionHistory array to vector (games sometimes are longer than 1000 positions) | bench 1136338
This commit is contained in:
1 parent
0a8d7ca2f5
commit
5aac7463ad
1 file changed
+2
-2
+2
-2
@@ -98,7 +98,7 @@ public:
|
||||
|
||||
std::array<std::array<int, MAX_PLY>, 2> killerMoves{};
|
||||
|
||||
std::array<U64, 1000> positionHistory{};
|
||||
std::vector<U64> positionHistory;
|
||||
|
||||
TTable TT;
|
||||
|
||||
@@ -110,7 +110,7 @@ public:
|
||||
TT.Clear();
|
||||
sw.Restart();
|
||||
killerMoves = {};
|
||||
positionHistory = {};
|
||||
positionHistory.reserve(1000);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user