ai: tt: 查询置换表是否命中后不再判断是否为根节点
This commit is contained in:
parent
5606c6e579
commit
30c5df101e
|
@ -540,7 +540,8 @@ value_t AIAlgorithm::search(depth_t depth, value_t alpha, value_t beta, Node *no
|
|||
|
||||
value_t probeVal = TT::probeHash(hash, depth, alpha, beta, bestMove, type);
|
||||
|
||||
if (probeVal != INT16_MIN /* TODO: valUNKOWN */ && node != root) {
|
||||
if (probeVal != INT16_MIN /* TODO: valUNKOWN */) {
|
||||
assert(node != root);
|
||||
#ifdef TRANSPOSITION_TABLE_DEBUG
|
||||
hashHitCount++;
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue