diff --git a/source/datagen.cpp b/source/datagen.cpp index dad1684..d174dca 100644 --- a/source/datagen.cpp +++ b/source/datagen.cpp @@ -374,7 +374,9 @@ static void PlayGames(int id, std::atomic& positions, std::atomic& st try { while (!stopFlag && !g_shutdownRequested) { Board board; + TTable DatagenTT; auto ctx = std::make_unique(); + ctx->TT = &DatagenTT; PlayRandMoves(board, ctx.get()); if (IsGameOver(board, ctx.get())) continue;