tt: 解决开启 TRANSPOSITION_TABLE_DEBUG 后编译失败问题

This commit is contained in:
Calcitem 2019-10-07 23:55:29 +08:00
parent f7fc03dbd3
commit 5606c6e579
2 changed files with 2 additions and 2 deletions

View File

@ -868,7 +868,7 @@ const char* AIAlgorithm::bestMove()
#ifdef TRANSPOSITION_TABLE_ENABLE
#ifdef TRANSPOSITION_TABLE_DEBUG
loggerDebug(""Hash hit count: %llu\n", hashHitCount);
loggerDebug("Hash hit count: %llu\n", hashHitCount);
#endif
#endif

View File

@ -556,7 +556,7 @@ bool Game::capture(square_t square, int8_t updateCmdlist)
currentSquare = SQ_0;
position.nPiecesNeedRemove--;
updateHash(square);
updateHash(square); // TODO: 多余? 若去掉.则评估点的数量和哈希命中数量上升, 未剪枝?
// 去子完成