little refactor | bench 5408634

This commit is contained in:
rektdie committed 2025-10-23 01:52:57 +02:00
1 parent 222a079c1f
commit 0d3c23ed73
2 files changed
+10 -21

No files matched your search

+1 -2
View File
@@ -96,8 +96,7 @@ public:
std::fill(&contHistMoves[0][0][0][0][0][0], &contHistMoves[0][0][0][0][0][0] + sizeof(contHistMoves) / sizeof(int16_t), 0);
}
int16_t GetOnePly(Board& board, Move& move, SearchContext* ctx, int ply);
int16_t GetTwoPly(Board& board, Move& move, SearchContext* ctx, int ply);
int16_t GetNPly(Board& board, Move& move, SearchContext* ctx, int ply, int n);
auto& operator[](int index) {
return contHistMoves[index];