We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e86d67 commit 84af61bCopy full SHA for 84af61b
search.cpp
@@ -49,7 +49,7 @@ namespace engine
49
session.seldepth = std::max(session.seldepth, ply);
50
uint64_t hash = board.hash();
51
Move preferred = Move::none();
52
- if (entry->getDepth() >= depth)
+ if (TTEntry *entry = search::tt.lookup(hash);entry->getDepth() >= depth)
53
{
54
Value ttScore = entry->getScore();
55
TTFlag flag = entry->getFlag();
0 commit comments