tt: 解决开启 TRANSPOSITION_TABLE_DEBUG 后编译失败问题
This commit is contained in:
parent
f7fc03dbd3
commit
5606c6e579
|
@ -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
|
||||
|
||||
|
|
|
@ -556,7 +556,7 @@ bool Game::capture(square_t square, int8_t updateCmdlist)
|
|||
|
||||
currentSquare = SQ_0;
|
||||
position.nPiecesNeedRemove--;
|
||||
updateHash(square);
|
||||
updateHash(square); // TODO: 多余? 若去掉.则评估点的数量和哈希命中数量上升, 未剪枝?
|
||||
|
||||
// 去子完成
|
||||
|
||||
|
|
Loading…
Reference in New Issue